Introduction Node. Was this article helpful? Sofija Simic. Alongside her educational background in teaching and writing, she has had a lifelong passion for information technology.
She is committed to unscrambling confusing IT concepts and streamlining intricate software installations. Next you should read. DevOps and Development. It is used for building fast SysAdmin Web Servers. It is Node Package Manager npm is Node's official package manager, used for installing and managing packages DevOps and Development Web Servers. Using curl, or wget, download the installation script.
In the URL below make sure you replace v0. It's not a bad idea to open the install script and inspect its contents given that you just downloaded it from the Internet. You can confirm that your profile is updated by looking at the install script's output to determine which file it used.
Look for something like the following in that file:. Should return nvm. Note: You can't use the which command with nvm since it's a shell function and not an actual application. Finally, run the nvm command to get a list of all the available sub-commands and to further verify that installation worked.
Now that you've got nvm installed let's use it to install, and use, the current LTS version of Node. Practically this means that anytime you start a new shell, and the nvm. You can change this behavior using the nvm alias command. To get your development environment configured so you can start building Node.
Prerequisites Option 1 — Installing Node. Where would you like to share this to? Twitter Reddit Hacker News Facebook. Share link Tutorial share link. Sign Up. DigitalOcean home. Community Control Panel.
Hacktoberfest Contribute to Open Source. How to Install Node. How To Install Node. Not using Ubuntu Choose a different version or distribution. Introduction Node.
Prerequisites This guide assumes that you are using Ubuntu Option 1 — Installing Node. Refresh your local package index first by typing: sudo apt update Then install Node. Next in series: How To Install Node. About the authors. Brian Boucheron. If you're using Linux or another operating system, use one of the following installers:. Or see this page to install npm for Linux in the way many Linux developers prefer.
For more information on installing Node. Skip to content. About npm.
0コメント