https://github.com/nvm-sh/nvm#install--update-script
To list the few latest npm versions
nvm ls-remote | tail
Then, to install and switch
nvm install $VERSION
nvm use $VERSION
npm -g install purescript
npm install -g spago
| Name | Name | Last commit date | ||
|---|---|---|---|---|
https://github.com/nvm-sh/nvm#install--update-script
To list the few latest npm versions
nvm ls-remote | tail
Then, to install and switch
nvm install $VERSION
nvm use $VERSION
npm -g install purescript
npm install -g spago