Deploy your applications with Bun effortlessly on Clever Cloud

Article Banner
Bun revolutionizes the JavaScript ecosystem with its excellent performance, native TypeScript handling, and all-in-one approach. This open source alternative to Node.js/npm is gaining popularity among developers. We've streamlined its usage on Clever Cloud.

Since its launch, Bun has gained reliability and features. As version 1.3 approaches rapidly, this solution stands out for:

  • Strong performance thanks to its development in Zig
  • An all-in-one approach: runtime, package manager, bundler and test runner
  • Integrated tools: Shell script management, native clients for PostgreSQL, Redis or object storage services such as Cellar
  • Good compatibility level with the existing Node.js ecosystem

Evolution of support on Clever Cloud

Two years ago, we explained how to deploy an application with Bun on Clever Cloud. The flexibility of our platform already allowed exploiting it both as a runtime and a package manager, with few configuration and environment variables.

Since then, we have observed a growing demand from our clients for native Bun support, whether for testing or migrating their production. As part of the overhaul of our images and runtimes, we have simplified its deployment process.

Enhancements made

We have integrated several changes in the Node.js runtime deployment, progressively renamed “Node.js & Bun” in our interfaces and documentation (the type remains node in the API and Clever Tools for compatibility reasons).

Thus, if CC_NODE_BUILD_TOOL=bun, Bun will be used automatically as runtime and package manager within your project. If it has a bun.lock file at its root, this won’t be necessary: Bun will be detected and activated by default (use the bun install --lockfile-only command if the bun.lock file doesn’t exist).

Of course, we maintain all our configuration flexibility and you can override this behavior by modifying CC_NODE_BUILD_TOOL to specify the tool of your choice.

How to deploy in practice

Want to simply test this functionality? Go to the Console then:

  1. Create a “Node.js & Bun” application on Clever Cloud
  2. Follow the instructions, deploy your project
  3. Magic happens automatically!

Advanced method: with Clever Tools

You can also follow the instructions below with Clever Tools (you’ll need git and Bun on your system):

# Project creation
mkdir bunDemo && cd bunDemo
git init

# Project initialization with Bun and React
bun init --yes --react
git add . && git commit -m "Initial commit"

# Clever Cloud Deployment
clever create --type node
clever deploy
clever open  # Open your deployed application in the browser

What you get

Your React application will leverage Bun as runtime and for dependency management, with the complete Clever Cloud experience:

  • Real-time logs for debugging
  • Integrated performance metrics
  • Domain with automatic HTTPS access
  • Automatic redeployment if there are any issues
  • Auto-scaling capability based on traffic

All without ever having to configure a single server.

Why choose Bun on Clever Cloud?

The Bun + Clever Cloud combination offers you:

  • Optimal performance: ultra-fast runtime + European infrastructure
  • Deployment simplicity: from your local code to production in a few clicks
  • Complete ecosystem: database, object storage, managed services, monitoring

Start today

Ready to discover the power of Bun on European cloud infrastructure? Take advantage of our €20 credits offered to test this solution without commitment. Whether you want to migrate an existing project or start new development, Clever Cloud facilitates your Bun adoption.

Need help? Our support is available to assist you in your migration to Bun. For larger projects, feel free to contact our sales team.

Blog

À lire également

Deploy your applications with Bun effortlessly on Clever Cloud

Bun revolutionizes the JavaScript ecosystem with its excellent performance, native TypeScript handling, and all-in-one approach. This open source alternative to Node.js/npm is gaining popularity among developers. We've streamlined its usage on Clever Cloud.
Company

What’s new on Clever Cloud, Q2 2025

Last February, we held the Clever Cloud Fest, two days of meetings and exchanges, punctuated by the announcement of 11 new products. However, it's one thing to talk about innovations, and quite another to bring them to life for our customers.
Company

Why we (finally) built our own managed Kubernetes

At Clever Cloud, we held off for a long time before offering a managed Kubernetes service. Not out of technological reluctance, Kubernetes is a great tool… but it was never designed to make developers’ lives easier.
Company Engineering