Updates
This commit is contained in:
19
On host/Node.js.md
Normal file
19
On host/Node.js.md
Normal file
@@ -0,0 +1,19 @@
|
||||
### Download Node.js®
|
||||
|
||||
'''
|
||||
# Download and install nvm:
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
|
||||
|
||||
# in lieu of restarting the shell
|
||||
\. "$HOME/.nvm/nvm.sh"
|
||||
|
||||
# Download and install Node.js:
|
||||
nvm install 22
|
||||
|
||||
# Verify the Node.js version:
|
||||
node -v # Should print "v22.19.0".
|
||||
nvm current # Should print "v22.19.0".
|
||||
|
||||
# Verify npm version:
|
||||
npm -v # Should print "10.9.3".
|
||||
'''
|
||||
Reference in New Issue
Block a user