Skip to content

installing Node.js and npm with nvm

In Kubuntu, use curl -o- | 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.


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.