Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

polarcubs's avatar

How do remove nodejs 7 ppa and install nodejs 6?

Hi,

Recently I followed instructions at the following site to download and install nodejs 7

https://github.com/nodesource/distributions

curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt-get install -y nodejs
...

However I encountered difficulties later when some of the node packages I needed doesn't work on nodejs 7

But I'm not sure how to remove the ppa for nodejs 7 and install nodejs 6 instead.

Any help would be appreciated.

My server is on digitalocean running Ubuntu.

0 likes
2 replies
willvincent's avatar

Install nvm and never worry about it again since it makes it totally painless to change the active version of node.

Please or to participate in this conversation.