Aragon CLI issues

Do you have an issue with the Aragon CLI? Please leave a comment here.
You can also visit the repo on github here and search if there is already a resolution.

1 Like

this came in through the discord site

Here’s the fix using Mac OS:
Install home-brew (if not installed already)

ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”

(I did not uninstall my existing node version 16.9.0
With brew installed I ran:

brew install nvm

Nvm is a Node Version Manager which enables you to use multi versions on your system.
Next create a home dir for nvm

mkdir ~/.nvm

Edit your bash configuration file (mine is.bash_profile)

nano ~/.bash_profile

Add the following to the bash configuration file:

export NVM_DIR=~/.nvm
source $(brew --prefix nvm)/nvm.sh
Save and close the bash configuration file (bash_profile)
Next, load the variable to the current shell environment. From the next login, it will automatically loaded.

source ~/.bash_profile

That’s it. The NVM has been installed on your macOS system. Go to nvm GitHub page, scroll down to the heading INTRO and you will see an example of how to use different versions. Following is a couple of examples:

$ nvm use 16

Now using node v16.9.1 (npm v7.21.1)

$ node -v

v16.9.1

$ nvm use 14

Now using node v14.18.0 (npm v6.14.15)

$ node -v

v14.18.0

$ nvm install 12

Now using node v12.22.6 (npm v6.14.5)

$ node -v

v12.22.6

1 Like