Skip to main content
Blaxel CLI (bl) is a command line tool to interact with the Blaxel APIs.

Install

Run the installer in a terminal:
The installer checks the Blaxel CLI (bl) against the release checksums, installs it, and adds it to your PATH. On macOS and Linux, it also installs completions for your current shell if you use zsh, bash, or fish. On Windows, configure PowerShell completions separately. It then runs bl setup, which shows what it found and installs it when you press Enter: the Blaxel skills and MCP servers for the coding agents on your machine (Claude Code, Codex, Cursor and others), then the browser login. Run it again at any time to add what is missing.
Homebrew 6.0.0+ requires explicit trust for non-official taps, so use the fully qualified formula name.
On macOS and Linux, set these variables for sh:For example, to install a specific release for all users:
Under sudo, the installer still sets up your own shell, coding agents and login. In CI, it installs the CLI only and leaves the shell configuration and coding agents alone. On Windows, run $env:BL_INSTALL_SETUP = "false" before the installer to install the CLI only.

Update

Update Blaxel CLI by running the following command in a terminal:
If you need to update to a specific version (e.g. v0.1.21):
You can also upgrade using Homebrew:
Update Blaxel CLI by running the following command in a terminal:
If you need to update to a specific version (e.g. v0.1.21):
Run the installer again in PowerShell. It installs the latest release and sets up anything new:

Shell autocompletion

On macOS and Linux, the installer sets up autocompletion for your current shell if you use zsh, bash, or fish. To set it up yourself, or for PowerShell, run one of the following:

Get started

First, create a workspace on the Blaxel console. The installer logs you in; to log in again, run:
If you have multiple workspaces, the one you last logged into will be used automatically in every subsequent command you run. You can log in to as many workspaces as you want. To set your context to a different workspace you already logged in to, use the following command:
Basic commands to scaffold, develop, and deploy your resources: bl deploy is an all-in-one command that packages local files into an image, pushes it as a template, and deploys it as a resource on Blaxel. Use the --skip-build flag to skip image rebuilding. Use bl push instead to only build and push the image. Interact with existing resources in your workspace:

Options

Last modified on October 5, 2026