#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)

rare wolf
#

I need help I want someone to explain to me how can I install nodejs on my vps liunx server
It also explains to me how I can download the project files and how I can run it
Detailed explanation step by step please because I am a beginner

next veldtBOT
#

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!

newtip TIP:

Need actual official support? Reach out to our customer care. zaplivechat

rare wolf
elfin flicker
rare wolf
#

@elfin flickerHow can I mount node on my server via putty

elfin flicker
rare wolf
#

@elfin flicker thx

#

its working

#

How can I upload my own project and run it there @elfin flicker

rare wolf
#

And then how do I turn it on

#

Where do I write it npm start ?

elfin flicker
#

How to upload your project? Where?

rare wolf
elfin flicker
#

Is a SFTP and terminal client in one

rare wolf
#

@elfin flicker

#

What do I do now? I do a login

elfin flicker
#

Then navigate to your project root

#

Left are the data of your computer, right of the server

rare wolf
#

this?

elfin flicker
#

Enlarge the window

rare wolf
elfin flicker
#

Yeah, now to your project root

#

@rare wolf

rare wolf
#

@elfin flicker

#

This is the project, what do I do after I click on it

#

download it

elfin flicker
#

Hmm

rare wolf
elfin flicker
# rare wolf

Run the following:

mv project /home
cd /home/project
elfin flicker
elfin flicker
rare wolf
#

@elfin flicker

#

How can I download the latest version of node

rare wolf
#

Bto thx @elfin flicker 🫡❤️

rare wolf
#

@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

rigid wyvern
#

Try running this command
npm install -g npm@latest

rare wolf
#

@rigid wyvern Bro is not working

next veldtBOT
rare wolf
#

npm command not found

rigid wyvern
#

apt install nodejs npm

rare wolf
rigid wyvern
#

curl -fsSL https://deb.nodesource.com/setup_18.x | bash - &&\ apt-get install -y nodejs

rare wolf
#

thx

#

How can the code run 24 hours

rigid wyvern
#

I haven't done that myself, as I use the gameserver interface, but I'm pretty sure that there are plenty guides online.

rare wolf
#

Can you mention a friend of yours who knows how to do that?

jovial walrus
#

@rare wolf Use screen

rare wolf
jovial walrus
#

Its a linux application

#

Sudo Apt update
Sudo apt install nodejs
Sudo apt install npm
Sudo apt install screen
Screen node index.js

rare wolf
#

@jovial walrus Thx

rigid wyvern
#

Hey, is there further assistance needed?