How to install Node.js, npm and pnpm on Linux
In this short guide you will learn how to install Node.js and pnpm for SnailyCADv4 on Linux.
19.x is not supported. Please use
First, update your existing list of packages with the following command:
sudo apt update
Next, install the Node.js source repository with the following command:
curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
Finally, install Node.js with the following command:
sudo apt install nodejs
This will install both Node.js and npm on your Ubuntu system.
To install pnpm, please follow the installation instructions on their documentation
Verify the installation
To verify that Node.js and pnpm are installed, run the following commands: