Python
Language for bots and scripts
BotsFree
JavaScript runtime
The script is free · VPS from $2.79 per month · installs in about 60 seconds
root@vps:~# curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash - && sudo apt-get install -y nodejs
✓ Node.js 24.21.0 installed · about 60 seconds
root@vps:~#
Node.js is a server-side JavaScript runtime. It powers Telegram bots (grammY, Telegraf), APIs, website backends and SSR apps on Next.js or Nuxt.
On a VPS a bot or API runs around the clock, with a static IP and without the limits of free hosting. Processes are best kept under PM2: it restarts the app on crashes and after a server reboot.
The command installs the current LTS branch 24 from the NodeSource repository, along with npm.
For Node.js: at least 1 vCPU, 2 GB RAM and 10 GB NVMe.
Three steps in the bot or one command over SSH; installation takes about 60 seconds.
Open @ExpressHost_bot and pay for a VPS. The server will be ready in about 60 seconds.
At the “Add-ons” step pick the script from the library, or run it later: Server settings → Scripts.
node -v && npm -v
Connect to the server as root and run the command. Supported systems: Ubuntu 22.04, Ubuntu 24.04, Debian 11, Debian 12.
curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash - && sudo apt-get install -y nodejsnode -v && npm -vnpm install -g pm2pm2 start app.js --name bot && pm2 startup && pm2 saveDidn’t find an answer? Message @ExpressHost_SupportBot.
A simple Node.js bot uses 50–150 MB RAM. 1 vCPU and 2 GB fits several bots, as long as they don't process heavy files.
Run the NodeSource script for the branch you need (for example, setup_22.x) and run apt-get install nodejs again. For several versions at once, nvm is more convenient.
pm2 logs bot. Logs are stored in ~/.pm2/logs.
Node.js installs at checkout — in the bot.
Netherlands, Amsterdam
$2.89/mo
$0.10 for 24 hours · $0.72 for 7 days
Pick Node.js at the “Scripts” step when you order the server.
Germany, Frankfurt
$3.14/mo
$0.11 for 24 hours · $0.79 for 7 days
Pick Node.js at the “Scripts” step when you order the server.
Poland, Warsaw
$2.79/mo
$0.10 for 24 hours · $0.70 for 7 days
Pick Node.js at the “Scripts” step when you order the server.
Estonia, Tallinn
$3.10/mo
$0.11 for 24 hours · $0.78 for 7 days
Pick Node.js at the “Scripts” step when you order the server.