h

zzstoatzz.io / hub

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

20
1.3.11-slim NOASSERTION Source

Pull this image

docker pull atcr.io/zzstoatzz.io/hub:latest

Overview

Read the docs →

What is Bun?

Bun is an all-in-one toolkit for JavaScript and TypeScript apps. It ships as a single executable called bun.

At its core is the Bun runtime, a fast JavaScript runtime designed as a drop-in replacement for Node.js. It’s written in Zig and powered by JavaScriptCore under the hood, dramatically reducing startup times and memory usage.

bun run index.tsx             # TS and JSX supported out-of-the-box

The bun command-line tool also implements a test runner, script runner, and Node.js-compatible package manager. Instead of 1,000 node_modules for development, you only need bun. Bun’s built-in tools are significantly faster than existing options and usable in existing Node.js projects with little to no changes.

bun test                      # run tests
bun run start                 # run the `start` script in `package.json`
bun install <pkg>             # install a package
bunx cowsay 'Hello, world!'   # execute a package

Install

Bun supports Linux (x64 & arm64), macOS (x64 & Apple Silicon), and Windows (x64 & arm64).

Linux users — Kernel version 5.6 or higher is strongly recommended, but the minimum is 5.1.

x64 users — if you see “illegal instruction” or similar errors, check our CPU requirements

# with install script (recommended)
curl -fsSL https://bun.com/install | bash

# on windows
powershell -c "irm bun.sh/install.ps1 | iex"

# with npm
npm install -g bun

# with Homebrew
brew tap oven-sh/bun
brew install bun

# with Docker
docker pull oven/bun
docker run --rm --init --ulimit memlock=-1:-1 oven/bun

Upgrade

To upgrade to the latest version of Bun, run:

bun upgrade

Bun automatically releases a canary build on every commit to main. To upgrade to the latest canary build, run:

bun upgrade --canary

View canary build

Guides

Contributing

Refer to the Project > Contributing guide to start contributing to Bun.

License

Refer to the Project > License page for information about Bun’s licensing.

Tags

latest
sha256:d163a0055a2c84b0a393b6a18413e65c5c4bc63d19e32dea7eaf44638a1db738
linux/amd64 sha256:ad6b28a20f44ca6229d3a680ea72bc829600669c93ea4cdf20323be96b3fb639
docker pull atcr.io/zzstoatzz.io/hub:latest

Manifests

Multi-arch
sha256:d163a0055a2c84b0a393b6a18413e65c5c4bc63d19e32dea7eaf44638a1db738
Tags: latest
linux/amd64
Multi-arch
sha256:5818a8b3f4500c171e88c066c66d39d3c83eb1a129294f1f4eb857dd68ee7a1b
(untagged)
linux/amd64
Multi-arch
sha256:a1a111b1f9a85c9ee83605554d7c7c21b002f342fea5226288649a1c63437cdd
(untagged)
linux/amd64
Multi-arch
sha256:d00cb4117dcaa36d1517d1fd853b565ca0b76ec0837967fad9dd7f94e6c2ab3b
(untagged)
linux/amd64
Multi-arch
sha256:f8f80a344728b78b5ebbdf88652be3ea7f2f1472724d2ea6086e13a35b6fdee3
(untagged)
linux/amd64
Multi-arch
sha256:54dc283aced0e04be0f1cb9140e6a857dc0018f5f68d14333b07e75ff6367151
(untagged)
linux/amd64
Multi-arch
sha256:a994e8ead4b70cc5fb5c32cfedc9475dff86d2bfb6cf77c7740fd028c4cf25db
(untagged)
linux/amd64
Multi-arch
sha256:b581a362708b0c9fec00935f6f14395156f29ecacd3ec9268b819386773de63e
(untagged)
linux/amd64
Multi-arch
sha256:27c8c66bd2ff795a22d81485af2ca0b52cd32efad31a1059f463aa8471b18f57
(untagged)
linux/arm64