Linked Questions

166
votes
15answers
220k views

How do I install the latest version of node.js? [duplicate]

How do I install the latest node.js on Ubuntu? I've been looking around, and I can't find anything. Is there a Ubuntu package for node.js, or do I have to compile it myself?
119
votes
10answers
352k views

How do you update npm to the latest version? [duplicate]

I'm having issues with npm in a Vagrant box I'm setting up. I noticed that the npm version is somewhat old, so I wanted to check the problem with the latest release. It is my understanding that you ...
15
votes
4answers
33k views

Install Node.js in Ubuntu 14.04 [duplicate]

I installed Node.js with: sudo apt-get install nodejs But when I type in a console node I get nothing, no command not found, no any error. But when I type nodejs I get the Node.js prompt >. Now, ...
11
votes
1answer
8k views

Ubuntu 18.04 LTS Server npm : Depends: node-gyp (>= 0.10.9) but it is not going to be installed [duplicate]

My environment is a little different. I updated from 14.04 to 16.04 to 18.04. My desktop PC 18.04 has npm installed. $ npm -version 3.5.2 # nodejs -v v8.10.0 # apt install npm Reading package ...
0
votes
2answers
2k views

How to install latest version of nodejs and npm on Ubuntu 14.04 LTS? [duplicate]

I installed Nodejs via package curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - sudo apt-get install -y nodejs Then I check version of nodejs and npm nodejs -v v0.10.25 npm -v 1.3....
0
votes
1answer
2k views

No way to upgrade nodejs in this case [duplicate]

No matter how I try I end up with nodejs 4.2.6. Is it a joke? $ nodejs -v v4.2.6 Uninstall and 4.2.6 returns like a virus $ sudo apt-get install nodejs Reading package lists... Done Building ...
0
votes
1answer
372 views

Errors when updating NPM [duplicate]

I am trying to install phonegap in my Ubuntu 14.04 and when I try to update NPM I always get this error. What can it be? How to fix? The commands I am using are sudo npm npm update -g and sudo npm ...
1
vote
0answers
278 views

Ubuntu 16.04 unmet dependencies won't install [duplicate]

I am trying to install nodejs but it keeps having unmet dependencies and it continues to do so. sudo apt-get install nodejs Reading package lists... Done Building dependency tree Reading state ...
0
votes
0answers
211 views

npm on WSL: Unable to correct problems, you have held broken packages [duplicate]

I'm using Ubuntu on Windows 10, and was working with Node.js earlier today. It was my first time using node, so I had just installed it (it's installed on the subsystem). All npm commands worked fine ...
1
vote
2answers
311 views

trying to install Node js, but it seems like in the source files or package there in an extra space so error are there [duplicate]

trying to install Node js, but it seems like in the source files or package there in an extra space so error are there. $ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - W: Failed to ...
0
votes
1answer
55 views

I don't even know where to begin… [Installing Node] [duplicate]

I saw this video here https://www.youtube.com/watch?v=EO38PzVjvro And I wanted to follow it to create my own HourBoost bot. So I purchased a £3 Ubuntu VPS from OVH and tried to follow his video ...
0
votes
1answer
39 views

$ node -v results nothing [duplicate]

I have installed node using sudo apt-get install node. linux@linux:~$ node -v linux@linux:~$ linux@linux:~$ npm -v 1.3.10 linux@linux:~$ I also download node from https://nodejs.org/en/ but, I don'...
0
votes
0answers
23 views

How to install node 10.13.0 LTS in Ubuntu 18.10? [duplicate]

On the official Node.js site they have a tar.xz file. I've extracted the file to my Downloads folder, but I am not sure what to do next. In one YouTube video I saw something like this: sudo cp -r ...
1
vote
2answers
22k views

How to install angularjs on ubuntu

I don't know how to install angularjs on ubuntu 16.06 and I can't even find it on the internet.
1
vote
1answer
4k views

How to install node 0.10.40 on Ubuntu 14.04

I'm trying to follow this instruction (from How to Install the Latest Versions of NodeJS and NPM for Ubuntu 14.04 LTS): apt-key adv --keyserver keyserver.ubuntu.com --recv 68576280 apt-add-repository ...

15 30 50 per page