Browse documentation
CanLang handbook

Install the CanLang toolchain

Install the complete standalone distribution to get the can compiler, matching catalogs, private runtime, runtime adapters, inline-example tooling, and deployment CLI together. The supported standalone platforms are macOS Apple Silicon and Linux x86-64 with glibc; the Linux v0.1.1 bundle requires glibc 2.39 or newer. No separate Rust, Node, Bun, or npm installation is required.

On this page

Install and verify

Run this in a terminal with curl and Bash available:

curl -fsSL https://sodaos.dev/CanLang/install.sh | bash

The installer selects a release and verifies its downloaded archive against its SHA-256 checksum. It configures your shell PATH. Open a new terminal, then verify:

can --version

Write apps in your own folder; a repository checkout is unnecessary. Browser automation tools are a separate optional installation; ordinary source checks, inline examples, and local previews do not need them.

Select a version and update

To install a particular release, pass its version explicitly, for example:

curl -fsSL https://sodaos.dev/CanLang/install.sh | bash -s -- --version v0.1.1

To update, rerun the installer for the release you selected, open a new terminal, and recheck can --version. The installer retains the previous installed version. Select a toolchain compatible with your app and saved generated code. Installing a compiler does not change app identity or deployed schema.

Continue with your first app. App release upgrades and schema changes have their own deployment workflow and migration rules. Exact command arguments live in the CLI reference.