Node.js
JavaScript runtime
Dev / ToolsFree
JS and TS runtime
The script is free · VPS from $2.79 per month · installs in about 30 seconds
root@vps:~# (command -v unzip >/dev/null || sudo apt install -y unzip) && curl -fsSL https://bun.sh/install | bash
✓ Bun 1.4.2 installed · about 30 seconds
root@vps:~#
Bun is a Node.js-compatible JavaScript and TypeScript runtime. One binary bundles the runtime, package manager, bundler and test runner.
TypeScript runs without a separate compile step, and bun install installs dependencies noticeably faster than npm. Great for Telegram bots, APIs and scripts.
The official script installs Bun into the user's home folder (~/.bun).
bun installFor Bun: at least 1 vCPU, 2 GB RAM and 10 GB NVMe.
Three steps in the bot or one command over SSH; installation takes about 30 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.
source ~/.bashrcThe bot will send the server address and login details to the chat.
Connect to the server as root and run the command. Supported systems: Ubuntu 22.04, Ubuntu 24.04, Debian 11, Debian 12, AlmaLinux 9.
(command -v unzip >/dev/null || sudo apt install -y unzip) && curl -fsSL https://bun.sh/install | bashsource ~/.bashrcbun --versionbun init, run it with bun run index.tsDidn’t find an answer? Message @ExpressHost_SupportBot.
For most bots and APIs, yes: Bun is compatible with npm packages. But if a library relies on rare Node.js APIs, test it on Bun before switching.
Run bun upgrade.
Use PM2 (pm2 start --interpreter ~/.bun/bin/bun index.ts) or a systemd service.
Bun installs at checkout — in the bot.
Netherlands, Amsterdam
$2.89/mo
$0.10 for 24 hours · $0.72 for 7 days
Bun is installed manually: the install command is further down this page.
Germany, Frankfurt
$3.14/mo
$0.11 for 24 hours · $0.79 for 7 days
Bun is installed manually: the install command is further down this page.
Poland, Warsaw
$2.79/mo
$0.10 for 24 hours · $0.70 for 7 days
Bun is installed manually: the install command is further down this page.
Estonia, Tallinn
$3.10/mo
$0.11 for 24 hours · $0.78 for 7 days
Bun is installed manually: the install command is further down this page.