1
1
mirror of https://github.com/nektos/act.git synced 2024-10-05 16:37:43 +03:00
12 Installation
Ryan edited this page 2022-03-29 22:29:11 +02:00

Necessary prerequisites for running act

act depends on docker to run workflows.

If you are using macOS, please be sure to follow the steps outlined in Docker Docs for how to install Docker Desktop for Mac.

If you are using Windows, please follow steps for installing Docker Desktop on Windows.

If you are using Linux, you will need to install Docker Engine.

act is currently not supported with podman or other container backends (it might work, but it's not guaranteed). Please see #303 for updates.

Installation through package managers

Packaging status

Packaging status

Homebrew (Linux/macOS)

Homebrew package


brew install act

or if you want to install version based on latest commit, you can run below (it requires compiler to be installed but Homebrew will suggest you how to install it, if you don't have it):


brew install act --HEAD

MacPorts (macOS)

MacPorts package


sudo port install act

Chocolatey (Windows)

Chocolatey package


choco install act-cli

Scoop (Windows)

Scoop package


scoop install act

AUR (Linux)

AUR package


yay -S act

COPR (Linux)

dnf copr enable rubemlrm/act-cli
dnf install act-cli

Nix (Linux/macOS)

nixpkgs stable 21.05 package nixpkgs stable 21.11 package nixpkgs unstable package

Global install:


nix-env -iA nixpkgs.act

or through nix-shell:


nix-shell -p act

Other install options

Bash script (Linux/macOS)

Run this command in your terminal to install latest released version:


curl https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash

Script can't install non-released versions

Manual download of prebuilt executable (multiple platforms)

Prebuilt executables for multiple platforms are available via latest release page. You can unpack and run them in terminal specifying full path or add them to one of the paths included in PATH environment variable.

Build from source (All platforms)

Requires Go toolchain 1.16+

git clone https://github.com/nektos/act.git
cd act/
make build
# OR
go build -ldflags "-X main.version=$(git describe --tags --dirty --always | sed -e 's/^v//')" -o dist/local/act main.go