CHD
(CHD Smart)
September 16, 2020, 10:45am
1
Hi, How can I install Nodejs 14.x latest version in parrot security 4.10…?
even if you update the system or run
apt install nodejs
it installs or reinstalls nodejs version 10.x
so I googled for alternative solution and got this
curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -
sudo apt -y install nodejs
from this link
and many other links as well…
but neither of this works…
any help…!!!
solo.nepal
(LilWizza 永)
September 16, 2020, 2:35pm
2
well you can do that easily using nvm (Node Version Manager)
here is the github link
for installation just do
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
# This loads nvm
After that to you can easily manage different versions of node js. To install 14.11.0 version of node js(updated one in the time of comment), just do nvm install 14.11.0
that will install the specified version of nodejs
Note: Just type nvm in the terminal, you will know more details
system
(system)
Closed
January 14, 2021, 2:36pm
3
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.