Node JS Init

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2020 Mar 18 10:11
Editor
Edited
Edited
2025 Dec 18 23:26

debian

curl -sL https://deb.nodesource.com/setup_24.x | sudo bash - sudo apt install -y nodejs
바꾸려면 apt uninstall 하고 curl 부터

redhat

curl -sL https://rpm.nodesource.com/setup_24.x | sudo bash - sudo yum install -y nodejs curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo sudo npm install -g yarn

windows

choco install nodejs

Node JS Manager

Node Execute Manager
 
 
Node JS Managers
 
 
 
mac sudo
sindresorhus/guides
npm installs packages locally within your projects by default. You can also install packages globally (e.g. npm install -g ) (useful for command-line apps). However the downside of this is that you need to be root (or use sudo) to be able to install globally.
sindresorhus/guides
Yarn
On Debian or Ubuntu Linux, you can install Yarn via our Debian package repository. You will first need to configure the repository: On Ubuntu 16.04 or below and Debian Stable, you will also need to configure the NodeSource repository to get a new enough version of Node.js.
How can I update my nodeJS to the latest version?
I have installed nodeJS on Ubuntu with following code sudo apt-get install nodejs Since I am a new user for ubuntu I also ran this code too sudo apt-get install npm Now when I type nodejs --version It shows v0.6.19 I checked and saw latest nodeJS version is 0.10.26 How can I update my version of nodeJS to 0.10.26?
How can I update my nodeJS to the latest version?
 
 

Backlinks

UBT 20

Recommendations