Skip to main content

Agent Installation

The PatchCTL agent can be installed on any supported Linux distribution using our automated installer or manual installation.

The quickest way to install the agent:

curl -fsSL https://downloads.patchctl.com/install.sh | sudo bash -s -- --key=YOUR_LICENSE_KEY

The installer automatically:

  1. Detects your distribution and version
  2. Downloads the appropriate binary
  3. Configures the agent with your license key
  4. Sets up the systemd service
  5. Starts the agent

Distribution-Specific Guides

For detailed instructions tailored to your OS:

Binary Variants

Different binaries are built for glibc compatibility:

BinaryTarget DistributionsGLIBC
patchctl-agent-linux-amd64Ubuntu, Debian2.35+
patchctl-agent-linux-amd64-rhelRHEL, Rocky, CentOS, Fedora2.28+
patchctl-agent-linux-amd64-suseSUSE, openSUSE2.31+

The installer automatically selects the correct binary for your system.

Installation Requirements

Before installing, ensure:

  • Root or sudo access
  • curl installed (for automated install)
  • Outbound HTTPS access to api.patchctl.com
  • Valid license key from the dashboard

Post-Installation Verification

After installation, verify the agent is running:

# Check service status
sudo systemctl status patchctl

# View recent logs
sudo journalctl -u patchctl --since "5 minutes ago"

# Check configuration
cat /etc/patchctl/config.json

Your server should appear in the dashboard within 5 minutes.

Next Steps

After installation:

  1. Verify in the dashboard
  2. Configure agent options (optional)
  3. Create your first schedule