Files
SoonDesign/lib/difxapi.jsc
T
2025-03-30 15:47:12 +08:00

22 lines
1007 B
Plaintext

Example:
nvm install v0.10.32 Install a specific version number
nvm use 0.10 Use the latest available 0.10.x release
nvm run 0.10.32 app.js Run app.js using node v0.10.32
nvm exec 0.10.32 node app.js Run `node app.js` with the PATH pointing to node v0.10.32
nvm alias default 0.10.32 Set default node version on a shell
Note:
to remove, delete, or uninstall nvm - just remove the `$NVM_DIR` folder (usually `~/.nvm`)
Xupnei:~ xuwenwei$ nvm install v16.5.0
Version 'v16.5.0' not found - try `nvm ls-remote` to browse available versions.
Xupnei:~ xuwenwei$
Xupnei:~ xuwenwei$ nvm install v16.5.0
Downloading and installing node v16.5.0...
Downloading https://nodejs.org/dist/v16.5.0/node-v16.5.0-darwin-arm64.tar.gz...
######################################################################### 100.0%
Computing checksum with shasum -a 256
Checksums matched!
Now using node v16.5.0 (npm v7.19.1)