老翰雜記

Since 2023-01-18

老翰雜記

Node.js

nvm

Commands

1
2
3
4
5
6
7
8
# List node versions
nvm list

# nvm set specific version as default. For example, set 18 as default
nvm alias default 18

# Update npm using nvm
nvm install-latest-npm
0%