Deploy your applications with Bun effortlessly on Clever Cloud

2025 07 28 clever cloud banniere blog bun en
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

Discover how to deploy an app with Bun on Clever Cloud in just a few steps
2025 09 23 youtube miniature bun demonstration en

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

UP Program: Clever Cloud announces its fifth startup selection

With this new batch, Clever Cloud welcomes four startups to the UP Program: Sentibee, Pictaderm, Legaia and Cockpit Agriculture.
Company

Sōzu 2.0 — turning a reverse proxy into a programmable edge

Sōzu is the reverse proxy that sits in front of every application running on Clever Cloud. After eighteen months of work — first the HTTP/2 multiplexer, built on our existing kawa pivot, then almost every other layer of the proxy, and finally a long run in production on the cleverapps.io load balancers — Sōzu 2.0 is out.
Engineering

K3s vs K8s: What Are the Differences and Which One Should You Choose in 2026?

Kubernetes has become the standard for container orchestration. But depending on your infrastructure constraints (limited resources, edge computing, IoT, or large-scale enterprise clusters), the distribution you choose can radically change the operational experience. K3s and K8s (upstream Kubernetes) address different needs, even though both share the same CNCF-certified foundation.
Engineering Features