These are instructions for installing and starting the Smallstep Agent on a Linux system running systemd. If you want to install the agent binary manually instead, see Install the Smallstep agent on a Linux device.

Prerequisites

Install step and step agent

  1. Download and install our step-cli package

    ARCH=amd64
    FORMAT=deb
    curl -LO <https://dl.smallstep.com/cli/docs-quickstart/latest/step-cli_[$ARCH.](https://dl.smallstep.com/gh-release/cli/docs-cli-install/v0.24.4/step-cli_0.24.4_amd64.deb)$FORMAT>
    sudo dpkg -i step-cli_$ARCH.$FORMAT
    

    This provides the step CLI command. Format can be deb or rpm.

  2. Download and install our Smallstep agent package

    ARCH=amd64
    FORMAT=deb
    curl -LO <https://dl.smallstep.com/step-agent-plugin/latest/step-agent-plugin_$ARCH.$FORMAT>
    sudo dpkg -i step-agent-plugin_$ARCH.$FORMAT
    

    This provides the step agent subcommand and daemon.

Configure step agent

Create the agent.yaml config file, with your team name and fingerprint.

Find your team name in your smallstep dashboard URL.

Find your fingerprint under the Smallstep Agents authority, on the Certificate Manager Authorities dashboard page.

cat <<EOF | sudo tee /etc/step-agent/agent.yaml
team: "demo1234"
fingerprint: "40523785c1d1d11EXAMPLE017b660d52a5fa5f2cb94cf0e1a9e9209dbea0826"
EOF

Now, restart the agent: