Download the CLI
policy
is available on Linux, macOS and Windows platforms.
Binaries for Linux, Windows and Mac
note
These are available as tarballs in the release page.
Homebrew (macOS & Linux)
You can install policy
via homebrew for macOS or LinuxBrew for Linux:
brew install opcr-io/tap/policy
WinGet (Windows)
You can install the policy
via WinGet on Windows 10+:
winget install OpenPolicyContainers.Policy
Go
You can get policy
via a GO install
go install github.com/opcr-io/policy/cmd/policy@latest