![]() ![]() However, using nvm is more convenient because you don't need to copy/paste the download URL every time, so we recommend using nvm if you're installing new Node versions regularly or if you aren't comfortable using symlinks. The major downside to the symlink approach is that you need a little extra work to support installing modules globally with -g, but you shouldn't be doing that anyway. ![]() We typically use the symlink approach for local development and production applications. ![]() 0-linux-圆4/bin/npx /usr/bin/npx Our Recommendations You should be able to do this on a plain Ubuntu machine with zero external dependencies. Node.js is a standalone executable, so all you need to do is download the Node.js tarball, extract it, and symlink node, npm, and npx using the ln command. How to install a specific version of Node on Ubuntu Ask Question Asked 10 years, 2 months ago Modified 6 months ago Viewed 318k times 125 I would like to install NodeJS version 0.8.18 on Ubuntu 12.04. However, if nvm doesn't work for some reason, there's a simpler alternative. But as I do sudo apt-get nodejs This installed v0.10.37. Installing using nvm is better, as shown below. How to install latest node version on Ubuntu Ask Question Asked 7 years, 2 months ago Modified 1 year, 2 months ago Viewed 15k times 6 I want to install the latest node (v6.2.0 at the time of writing) on Ubuntu. Node.js recommends installing node using apt-get on Ubuntu. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |