Aiken installation on linux using npm
tags
dev
linux
blockchain
type
Post
summary
A quick fix to a problem i’ve faced with aiken installation
status
Published
Text
slug
aiken-installation-on-linux-using-npm
Files & media
slug _
date
May 4, 2025

If you’ve recently been getting into blockchain development and decided to learn aiken but couldn’t even get through the installation section without running into this error:

Here is how i was able to fix the error so you don’t have to have to struggle for as long as i did.
1. Make sure your in your computer’s root directory, not your project directory
To do this, simply use this simple command in your terminal.
2. Install aikup
aikup
a basic cross-platform utility tool to download and manage Aiken's across multiple versions by specifying a version number.According to the Documentation you should run
But i’m making this blog because this doesn’t really work out of the box
So instead of using the command in the docs, simply add
sudo
at the beginning of the command after doing the previous stepsAnd just like that you have successfully passed the initial npm install error! 🥳

Once the
aikup
installation is complete, you can check if the CLI is working simply by typing:If you receive a version number, then your ready to go to the next step.
3. Install Aiken
First use the following command to list the different versions of Aiken.
Once you identify the latest version of Aiken use the following command to install it ( replace the
[latest stable version]
with your latest version)As of the time this blog is written, the latest version of Aiken is v1.1.16
Once the installation is complete you can type
aiken —version
to see if it was installed properly. If you get a version number then congratulations! you’ve successfully installed aiken to your machine!