Skip to content

Docs

knoxctl is a command-line tool designed to help AccuKnox customers securely and efficiently access the AccuKnox platform. It leverages the platform’s APIs to provide full access to CNAPP features directly from the terminal for streamlined automation and management.

🛡️ Install Knoxctl
curl -sfL https://knoxctl.accuknox.com/install.sh | sh -

To install knoxctl, download the appropriate binary for your Unix-based system. Use uname -a in the terminal to check your OS type and architecture, and select the matching version.

Latest version is 0.9.0, released on 7th July 2025.

Install via APT Repository

For Debian/Ubuntu-based systems, you can install knoxctl directly from the AccuKnox Nexus APT repository:

# 1. Add the AccuKnox GPG key
curl -fsSL https://nexus.accuknox.com/repository/knoxctl-keys/public.key | \
gpg --dearmor | sudo tee /usr/share/keyrings/knoxctl.gpg > /dev/null

# 2. Add the AccuKnox Nexus APT repository
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/knoxctl.gpg] https://nexus.accuknox.com/repository/knoxctl/ stable main" | \
sudo tee /etc/apt/sources.list.d/knoxctl-nexus.list

# 3. Update package list
sudo apt update

# 4. Install knoxctl
sudo apt install knoxctl

Info

In case knoxctl update failed due to KubeArmor Policy, please run the following command before trying to upgrade

sudo systemctl stop kubearmor.service