Skip to content

Instantly share code, notes, and snippets.

@chayandatta
Last active September 8, 2020 08:14
Show Gist options
  • Save chayandatta/12e581cb43779fc6f6b8b9321e834539 to your computer and use it in GitHub Desktop.
Save chayandatta/12e581cb43779fc6f6b8b9321e834539 to your computer and use it in GitHub Desktop.
npm update

sudo apt update

sudo apt install build-essential checkinstall libssl-dev

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.35.1/install.sh | bash

nvm --version

nvm ls

nvm ls-remote

v12.17.0   (LTS: Erbium)
       v12.18.0   (LTS: Erbium)
       v12.18.1   (LTS: Erbium)
       v12.18.2   (LTS: Erbium)
       v12.18.3   (Latest LTS: Erbium)
        v13.0.0
        v13.0.1
        v13.1.0
->      v13.2.0
        v13.3.0
        v13.4.0
        v13.5.0
        v13.6.0
        v13.7.0
        v13.8.0
        v13.9.0
       v13.10.0
       v13.10.1
       v13.11.0
       v13.12.0
       v13.13.0
       v13.14.0
        v14.0.0
        v14.1.0
        v14.2.0
        v14.3.0
        v14.4.0
        v14.5.0
        v14.6.0
        v14.7.0
        v14.8.0
        v14.9.0
        

nvm install v12.18.3

node --version
v12.18.3

nvm alias default 12 nvm ls

->     v12.18.3
        v13.2.0
         system
default -> 12 (-> v12.18.3)
node -> stable (-> v13.2.0) (default)
stable -> 13.2 (-> v13.2.0) (default)

nvm install v14.9.0 nvm ls

       v12.18.3
        v13.2.0
->      v14.9.0
         system
default -> 12 (-> v12.18.3)
node -> stable (-> v14.9.0) (default)
stable -> 14.9 (-> v14.9.0) (default)

nvm uninstall v13.2.0 nvm ls

       v12.18.3
->      v14.9.0
         system
default -> 12 (-> v12.18.3)
node -> stable (-> v14.9.0) (default)
stable -> 14.9 (-> v14.9.0) (default)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment