Order Bun from the Marketplace App tab as shown in how to order a VPS with a one-click app. When the install card on your server page shows the finished result, follow the steps below.
What you get
Bun, a JavaScript runtime and package manager. It needs 1 GB of memory and takes 1 to 3 minutes, the quickest of the apps. The server page shows the version.
1. Check it
Connect with SSH:
bun --version
2. Start a project
mkdir myapp && cd myapp
bun init
bun run index.ts
3. Keep it running
Use a systemd service to keep a Bun app running after reboots, and put Nginx in front of it for a domain. The reverse proxy setup in host a Node.js app on a VPS works for any app on a local port.
Next steps
- Connect to your VPS with SSH to run the commands above.
- Secure your new VPS before you put real data on it.
- Something not working? See what happens after you order an app, or open a ticket from Support.