How to Install Puter on Debian 12
Puter is an advanced open-source desktop environment in the browser, designed to be feature-rich, exceptionally fast, and highly extensible. It can be used to build remote desktop environments or serve as an interface for cloud storage services, remote servers, web hosting platforms, and more.
Update the System
First, check for the update to keep the server up to date.
apt update
Install Node.js
First, you need to install Node.js on your system. Add the PPA to the your system by running the following command.
apt-get install curl
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
Output:
root@vps:~# apt-get install curl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libcurl3-gnutls libcurl4
The following NEW packages will be installed:
curl libcurl4
The following packages will be upgraded:
libcurl3-gnutls
1 upgraded, 2 newly installed, 0 to remove and 29 not upgraded.
Need to get 1,090 kB of archives.
After this operation, 1,363 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
root@vps:~# curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
2024-03-28 17:28:27 - Installing pre-requisites
Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Reading package lists... Done
N: Repository 'Debian bookworm' changed its 'firmware component' value from 'non-free' to 'non-free-firmware'
N: More information about this can be found online in the Release notes at: https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.html#non-free-split
Reading package lists... Done
Installing the latest version of Node.js is now possible by running the following command,
apt-get install nodejs
Output:
root@vps:~# apt-get install nodejs
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
nodejs
0 upgraded, 1 newly installed, 0 to remove and 29 not upgraded.
Need to get 31.6 MB of archives.
After this operation, 196 MB of additional disk space will be used.
Get:1 https://deb.nodesource.com/node_20.x nodistro/main amd64 nodejs amd64 20.12.0-1nodesource1 [31.6 MB]
Fetched 31.6 MB in 1s (33.4 MB/s)
Selecting previously unselected package nodejs.
(Reading database ... 28662 files and directories currently installed.)
Preparing to unpack .../nodejs_20.12.0-1nodesource1_amd64.deb ...
Unpacking nodejs (20.12.0-1nodesource1) ...
Setting up nodejs (20.12.0-1nodesource1) ...
Processing triggers for man-db (2.11.2-2) ...
now let's check the version of the Node.js installed,
node -v
Output:
root@vps:~# node -v
v20.12.0
Clone Puter Repository
Now that Node.js is installed, let's proceed to clone the Puter repository from GitHub and navigate into the cloned directory,
Install Git if not already installed,
apt install git -y
Once it is installed, run the following command,
git clone https://github.com/HeyPuter/puter
Output:
root@vps:~# git clone https://github.com/HeyPuter/puter
Cloning into 'puter'...
remote: Enumerating objects: 1746, done.
remote: Counting objects: 100% (907/907), done.
remote: Compressing objects: 100% (358/358), done.
remote: Total 1746 (delta 706), reused 633 (delta 548), pack-reused 839
Receiving objects: 100% (1746/1746), 3.81 MiB | 8.09 MiB/s, done.
Resolving deltas: 100% (1128/1128), done.
Go to the puter directory,
cd puter
Inside the puter
directory, install the required dependencies using npm,
npm install
Output:
root@vps:~/puter# npm install
added 219 packages, and audited 220 packages in 9s
33 packages are looking for funding
run `npm fund` for details
4 moderate severity vulnerabilities
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
After installing dependencies, you can start the Puter application,
npm start
Output:
root@vps:~/puter# npm start
> puter.com@1.0.0 start
> nodemon --exec "node dev-server.js"
[nodemon] 2.0.22
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: js,json,mjs,jsx,svg,css
[nodemon] starting `node dev-server.js`
-----------------------------------------------------------
Puter is now live at: http://localhost:4000
-----------------------------------------------------------
Access Puter Application
Now, you can access the Puter application using a web browser. Open your browser and browse http://your-server-ip:4000
.
http://your-server-ip:4000
Replace your IP address with your actual server IP addres.
Congratulations! You have successfully installed and run the Puter application on your Debian 12 system using Node.js. You can now utilize Puter for various computational tasks as needed.
CrownCloud - Get a SSD powered KVM VPS at $4.5/month!
Use the code WELCOME
for 10% off!
1 GB RAM / 25 GB SSD / 1 CPU Core / 1 TB Bandwidth per month
Available Locations: LAX | MIA | ATL | FRA | AMS