UserVM Handbook: Difference between revisions

Jump to navigation Jump to search
add nodesource repo instructions, switch to apt-get because its safer for documentation (good practice even if its just a simple install)
(add nodesource repo instructions, switch to apt-get because its safer for documentation (good practice even if its just a simple install))
{{code|lang=bash|
sudo pacman -S --needed git # Arch
sudo apt-get install -y git # Debian
}}
=== Prepare the server ===
}}
Next, we need to install Node.js, as well as the server dependencies.
First, we'll install node. On arch, you can just run the following command:
First, node:
{{code|
sudo aptpacman install--needed -S npm nodejs # Debian
}}
sudo pacman --needed -S npm nodejs # Arch
On Debian, the packaged node version is too old to run CollabVM, so we'll add the nodesource repository.
{{code|
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo bash -
apt-get install -y nodejs
}}
Then install dependencies

Navigation menu