Installation
Necessary prerequisites for running act
act
depends on docker
(exactly Docker Engine API) to run workflows in containers. As long you don't require container isolation, you can run selected (e.g. windows or macOS) jobs directly on your System see Runners. In the latter case you don't need to have docker installed or running.
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.
To use act
with remote Docker Engine API compatible host, see Custom container 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.
Pre-built artifacts
Bash script
You can easily install a pre-built act
executable on any system with bash
via below commandline
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash
⚠ Script can't install non-released versions ⚠
Manual download of prebuilt executable
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.
- macOS 64-bit (Apple Silicon)
- macOS 64-bit (Intel)
- Linux 64-bit (arm64/aarch64)
- Linux 32-bit (armv6)
- Linux 32-bit (armv7)
- Linux 32-bit (i386/x86)
- Linux 64-bit (amd64/x86_64)
- Windows 64-bit (arm64/aarch64)
- Windows 32-bit (armv7)
- Windows 32-bit (i386/x86)
- Windows 64-bit (amd64/x86_64)
Build from source
Requires Go toolchain 1.18+
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
Installation via software package manager
act
is available in below package repositories
- Arch (
Linux
) - Homebrew (
Linux
,macOS
) - Chocolatey (
Windows
) - COPR (
Linux
) - GitHub CLI (
Linux
,macOS
,Windows
,FreeBSD
) - Nix/NixOS (
Linux
,macOS
) - MacPorts (
macOS
) - Scoop (
Windows
) - Winget (
Windows
)