#I need help I want someone to explain to me how can I install nodejs on my vps liunx server
1 messages · Page 1 of 1 (latest)
Hi there 👋
Thank you for creating a post on our Community Forum. Please keep in mind that we don't provide official support on Discord. This is a forum for the community, by the community. Meaning that help is not guaranteed. Now let's wait and see if someone of our lovely community can help you out!
TIP:
Need actual official support? Reach out to our customer care. 
Hi, have written this script among others:
@elfin flickerHow can I mount node on my server via putty
Just execute this code:
wget https://github.com/JustBashing/NodeJSManager/raw/main/install.sh
bash install.sh --version 1
@elfin flicker thx
its working
How can I upload my own project and run it there @elfin flicker
How do I upload my project
I mean files
index.js
package.json
And then how do I turn it on
Where do I write it npm start ?
How to upload your project? Where?
I want to upload it to the server so that it works 24 hours
Take Bitvise (https://dl.bitvise.com/BvSshClient-Inst.exe)
Is a SFTP and terminal client in one
Great! Go on New SFTP window
Then navigate to your project root
Left are the data of your computer, right of the server
Hmm
I downloaded it how can I run it and write it for example
npm start index. js
in putty?
Yes
Create a package.json
scripts: {
"start": "node index.js"
}
Bto thx @elfin flicker 🫡❤️
@elfin flicker I need you for something else, my friend
How can I update node
I want it to be version 18
wget https://github.com/JustBashing/NodeJSManager/raw/main/install.sh
bash install.sh --version 1
When I write that, it downloads, but version 10, not 18 or 20
Try running this command
npm install -g npm@latest
@rigid wyvern Bro is not working
You are in violation of our Community Rules!
Please do not mention the ZAP-Hosting Team, Community Moderators and/or Helpers. Moderation actions may be taken against you. 
apt install nodejs npm
curl -fsSL https://deb.nodesource.com/setup_18.x | bash - &&\ apt-get install -y nodejs
Source: [Github](https://github.com/nodesource/distributions#using-debian-as-root-2\)
I haven't done that myself, as I use the gameserver interface, but I'm pretty sure that there are plenty guides online.
Can you mention a friend of yours who knows how to do that?
@rare wolf Use screen
what screen?
Its a linux application
Sudo Apt update
Sudo apt install nodejs
Sudo apt install npm
Sudo apt install screen
Screen node index.js
@jovial walrus Thx
This install NodeJS 20
Hey, is there further assistance needed?