Skip to content

Before setting up the Aembit CLI, ensure you have the following:

  • A Linux or Windows Server system (see Supported operating systems)
  • Access to a terminal or command prompt
  • Internet access to download the CLI binary

Aembit publishes two Linux amd64 archives for each Aembit CLI version, and one Linux arm64 archive. Both amd64 archives extract to the same aembit executable, with the same commands, options, output, and configuration, and aembit --version prints the same string for both. They differ only in the C library the executable links against.

PropertyDefault build (musl)glibc build
Archive nameaembit_agent_cli_linux_amd64_<version>.tar.gzaembit_agent_cli_linux_amd64_glibc_<version>.tar.gz
LinkingStatic, with no dependency on the host C libraryDynamic, which requires glibc 2.28 or newer on the host
Architecturesamd64 and arm64amd64 only
Download pathhttps://releases.aembit.io/agent/<version>/linux/amd64/The same directory as the default build

Download the default build unless Aembit CLI fails to resolve your Aembit Tenant’s hostname with the error failed to lookup address information on a host where dig and curl resolve the same name. That failure comes from a DNS resolver response that musl rejects and glibc tolerates, so the glibc build resolves the name. For the full symptom and the resolver-side fix, see DNS lookup fails with failed to lookup address information.

The glibc build has no arm64 archive, and it doesn’t run on Alpine Linux or in distroless images, because those environments lack glibc. Each archive ships with a .sha256 checksum file and a .sha256.sig detached signature file in the same directory.

To setup the Aembit Agent CLI, follow these steps:

  1. Download the Aembit Agent CLI from:

    Terminal window
    curl -O "https://releases.aembit.io/agent/1.34.5772/linux/amd64/aembit_agent_cli_linux_amd64_1.34.5772.tar.gz"

    To download the glibc build instead, use the archive name aembit_agent_cli_linux_amd64_glibc_1.34.5772.tar.gz in the same directory.

  2. Extract the CLI binary:

    Terminal window
    tar -xf aembit_agent_cli_linux_amd64_1.34.5772.tar.gz

    The Aembit CLI is ready to use.

  3. Verify that you can run the Aembit CLI:

    Terminal window
    ./aembit --version
    Aembit Agent CLI 1.34.5772