初始化
This commit is contained in:
Binary file not shown.
@@ -0,0 +1,21 @@
|
||||
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)
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user