Skip to main content
Version: development

Installation

The Aperture CLI provides a convenient way to interact with Aperture. It can be used to generate a policy, apply a policy, list policies, and perform other operations such as listing connected agents, listing flow control points and preview samples of flow labels or HTTP requests on control points. Its use cases extend beyond the aforementioned operations. Detailed documentation is available on the aperturectl reference page.

The Aperture CLI, compatible with all major platforms, is accessible as an executable program. Binaries for the CLI can be obtained from the GitHub Release Page.

Alternatively, it can also be downloaded using the following script:

VERSION="main"
ARCH="amd64"
PACKAGER="deb"
url="https://github.com/fluxninja/aperture/releases/download/v${VERSION}/aperturectl_${VERSION}_${ARCH}.${PACKAGER}"
echo "Will download ${PACKAGER} package version ${VERSION} compiled for ${ARCH} machine"
curl --fail --location --remote-name "${url}"

Installation

info

Skip the following steps if you have obtained the binary file directly using the steps mentioned above.

With Homebrew:
brew install fluxninja/aperture/aperturectl

Enable shell autocompletion

To configure your shell to load aperturectl bash completions, add to your profile:

source <(aperturectl completion bash)

Uninstall

With Homebrew:
brew uninstall aperturectl
brew untap fluxninja/aperture

aperturectl