DEV Community 👩‍💻👨‍💻

Yao-Ching Huang
Yao-Ching Huang

Posted on • Updated on

Install Nodejs with nvm

https://github.com/nvm-sh/nvm

Steps

Run the nvm installation script

wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
Enter fullscreen mode Exit fullscreen mode

Open a new shell and verify the installation.

$ nvm --version

0.39.1
Enter fullscreen mode Exit fullscreen mode

Install the specific version of node

nvm install 18.4.0
nvm use v18.4.0
Enter fullscreen mode Exit fullscreen mode

Verification.

$ node --version

v18.4.0
Enter fullscreen mode Exit fullscreen mode

Top comments (1)

Collapse
fredysandoval profile image
Fredy Sandoval

give it a try to fnm, it doesn't slow your terminal.

Find what you were looking for? Sign up so you can:

 
🌚 Enable dark mode
🔠 Change your default font
📚 Adjust your experience level to see more relevant content