2021 m. kovo 10 d., trečiadienis

How to change npm version

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

Usage:

$ nvm install <version>       Download and install a <version>

$ nvm use <version>           Modify PATH to use <version>

$ nvm ls                      List versions (installed versions are blue)

Usage:

$ nvm install 12

$ nvm use 12