Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install nodejs on shared server

I have one shared server acoount. Searched more time "how to install nodejs on shared server" but i can't find any thing. Just this link

but not working

like image 283
officialmmt Avatar asked Jun 24 '26 13:06

officialmmt


1 Answers

Login on SSH and type this code:

wget -qO- https://cdn.rawgit.com/creationix/nvm/master/install.sh | bash

Now close and reopen your terminal to start using nvm or run the following to use it now:

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"

nvm install node
nvm use node

For more informations, check my website: Add Nodejs on HostGator Shared Hosting Server

like image 58
DZeta Avatar answered Jun 26 '26 01:06

DZeta