Skip to content

installing Node.js and npm with nvm

In Kubuntu, use curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash to install the Node Version Manager and avoid the use of sudo in the installation of npm packages. Close and reopen the terminal, then use command -v nvm to verify the installation of nvm. Then use nvm install node to install the latest version of Node.js and npm.

licensing

No rights reserved: CC0 1.0.

prior work

The bulk of the installation script was introduced to me by the Installation, Verify installation, and Usage sections of the Node Version Manager README on GitHub.