This section walks you through installing ZeroThreat On-Prem using the CLI and activating your license. The process is designed to be guided and interactive, with system checks and dependency installation handled automatically where possible.
Before starting the installation, ensure the following requirements are met:
Note
Docker is not a direct prerequisite. If required, the ZeroThreat CLI installer can install and configure Docker as part of the setup process.
Official reference
Supported Installation Environments
ZeroThreat On-Prem can be installed on Linux, macOS, and Windows using WSL. The CLI-based installer is designed to run in these environments and will guide you through dependency checks, installation, and license activation.
For ZeroThreat On-Prem installation on a cloud VM, use the following minimum and recommended system configuration:
Minimum
Suggested example instance series for minimum sizing
m6i.xlarge or m7g.xlarge for general purpose, t3.xlarge or t4g.xlarge for burstableStandard_D4s_v5 for general purpose, Standard_B4ms for burstablen2-standard-4 for general purpose, e2-standard-4 for burstableRecommended
Suggested example instance series for recommended sizing
m6i.2xlarge or m7g.2xlarge for general purpose, t3.2xlarge or t4g.2xlarge for burstableStandard_D8s_v5 for general purpose, Standard_B8ms for burstablen2-standard-8 for general purpose, e2-standard-8 for burstableIMPORTANT: The instance models above are only suggested examples. Any equivalent VM with similar CPU, memory, and disk capacity will also work.
Install the ZeroThreat CLI globally using npm:
npm install -g @zerothreatai/cli
This command installs the CLI tool that manages installation, configuration, and lifecycle operations for On-Prem deployments.
Troubleshooting
- If you see permission errors, ensure you have sufficient privileges
- If npm fails due to Node version issues, upgrade to the latest stable Node.js release
Once installation completes, start the installer by running:
zt
This opens the interactive On-Prem installer, which guides you through system checks, dependency installation, and license activation.
.png)
If the installer detects missing system dependencies, select:
Install Prerequisite Software for [Linux] Environment
The installer will automatically install and configure required components, including Docker if needed.
Once completed, you should see a confirmation message indicating that system requirements are met.
.png)
After system checks pass, the installer proceeds to license activation.
You will be prompted to enter:
Once activated, the installer downloads the required images (approximately 8–9 GB). This may take several minutes depending on network speed.
.png)
If installation is interrupted and, on restart, you encounter the following error:
Verification failed. Please check your details. Error: License cannot be activated. Its current status is 'ClaimRequested'.
This indicates that the license was partially claimed during a previous attempt.
How to resolve
.png)
.png)
After successful installation and activation, the installer displays a local access URL.
Use this URL to access your ZeroThreat On-Prem instance and continue configuration.
.png)
Now that ZeroThreat is installed, learn how to manage licenses in our License Management guide.