Skip to content

Instantly share code, notes, and snippets.

@Bazsmagister
Last active July 4, 2024 18:00
Show Gist options
  • Save Bazsmagister/4be36455d1f35735314a83e146e8fc2c to your computer and use it in GitHub Desktop.
Save Bazsmagister/4be36455d1f35735314a83e146e8fc2c to your computer and use it in GitHub Desktop.
Node, npm nvm advices
nvm github:
https://github.com/nvm-sh/nvm
install nvm (node version manager)
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash
list available node versions:
nvm ls-remote
then select one, and install:
nvm install 16.15.0
also you can set a default version using
nvm alias default 6.11.4
check versions:
node -v
npm -v
Source: https://stackoverflow.com/questions/46699582/how-to-clean-uninstall-nodejs-node-on-ubuntu-16-04
(this is an edit to make it easier searchable)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment