Skip to content

Installation

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 https://github.com/cargo-lambda/scoop-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

Download the binary from the releases page

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

WARNING

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

Building from source

Install cargo-lambda on your host machine with Cargo itself:

cargo install cargo-lambda

WARNING

cargo-install compiles the binary in your system, which usually takes several minutes. This method doesn't install Zig either.

Released under the MIT License.