N
lastmod 2026-02-04created 2020-02-1110 edits
Node version management.
Node.js version management: no subshells, no profile setup, no convoluted API, just simple.
First install
$ curl -L https://raw.githubusercontent.com/tj/n/master/bin/n -o n
$ sudo bash n lts
## If you need yarn:
$ sudo npm install -g yarn
Bootstrap script
See Node.js#Bootstrap script for details.
Troubleshooting
If you already installed it from the Ubuntu package
Obviously, remove it.
See also
Favorite site
- Github - n
- Getting started with Node.js development - 1 - Installation and version management (NVM, n)
- nvm vs n!
- (node.js) Managing node.js versions with n
Pages that link here