Skip to content


Cargo Lambda uses Zig to link your functions for Linux systems. The installers below also install Zig for you if it's not in your system.

With Homebrew (macOS and Linux)

You can use Homebrew to install Cargo Lambda on macOS and Linux. Run the following commands on your terminal to add our tap, and install it:

brew tap cargo-lambda/cargo-lambda
brew install cargo-lambda

With Scoop (Windows)

You can use Scoop to install Cargo Lambda on Windows. Run the following commands to add our bucket, and install it:

scoop bucket add cargo-lambda
scoop install cargo-lambda/cargo-lambda

With PyPI

You can also use PyPI to install Cargo Lambda on any system that has Python 3 installed:

pip3 install cargo-lambda

With Docker

You can run Cargo Lambda directly from our official Docker image:

docker pull calavera/cargo-lambda

With Nix

You can also use Nix to install Cargo Lambda on any system that supports it:

nix-env -iA nixpkgs.cargo-lambda

Binary releases

You can also download any Cargo Lambda binary from the Release page.


When you download a binary directly, Zig won't be installed for you.

Building from source

You can install cargo-lambda on your host machine with Cargo itself. This method is not recommended because the binary will be compiled in your system, which we cannot always guarantee. Using a package manager, or pre-built binaries is always more encouraged to have a functional service and avoid installation issues.

cargo install --locked cargo-lambda


cargo-install compiles the binary in your system, which usually takes more than 10 minutes. This method doesn't install Zig either, which is a requirement if you want to cross compile packages from macOS or Windows to Lambda Linux environments.

Released under the MIT License.