Difference between revisions of "Nvm install node"

From wikieduonline
Jump to navigation Jump to search
 
Line 37: Line 37:
 
  [[nvm use]]
 
  [[nvm use]]
 
  [[node --version]]
 
  [[node --version]]
 +
[[brew install node]]
  
 
== See also ==
 
== See also ==

Latest revision as of 10:29, 30 September 2025

nvm install node

Downloading and installing node v24.9.0...
Downloading https://nodejs.org/dist/v24.9.0/node-v24.9.0-darwin-arm64.tar.xz...
######################################################################### 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v24.9.0 (npm v11.6.0)


nvm install node
Downloading and installing node v18.7.0...
Downloading https://nodejs.org/dist/v18.7.0/node-v18.7.0-linux- arm64.tar.xz... 
################################################################################################################################### 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v18.7.0 (npm v8.15.0)
Creating default alias: default -> node (-> v18.7.0)


Now using node v20.4.0 (npm v9.7.2)
Creating default alias: default -> node (-> v20.4.0)
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"

Related[edit]

npm install --global yarn

/usr/bin/env: ‘node’: No such file or directory

nvm use
node --version
brew install node

See also[edit]

Advertising: