admin-password
Get a one-time login password for the admin user Usage:sudo zylon-cli admin-password
Calls the backend to generate a temporary password for admin@zylon.ai and prints it to stdout. Use this after running seed to obtain the initial admin login password.
backfill-projections
Backfill Skill and Document projections (needed when upgrading to Zylon v1.58) Usage:sudo zylon-cli backfill-projections --help
Flags:
--dry-run: Report what would be backfilled without writing any change
backup
Create a backup Usage:sudo zylon-cli backup --help
Flags:
-o, --backup-dir: Path to the backup dir (default:/var/backups/zylon)-k, --keep-last: Number of backups to keep (default:10)-u, --unsafe: Do not stop k0s before taking the backup. Use only when avoiding downtime is more important than data safety (for example in non-production or test environments), as this may lead to data corruption and is not recommended for production backups.-y, --yes: Skip user confirmation
completion
Generate the autocompletion script for the specified shell Usage:sudo zylon-cli completion
config
Manage configuration Usage:sudo zylon-cli config
configure
Change cluster settings and apply them to the running nodeChanging —max-pods restarts k0s, all Zylon services will be briefly unavailable.
sudo zylon-cli configure --max-pods 200
--max-pods only edits /etc/k0s/k0s.yaml when it matches the layout generated by zylon-cli, otherwise it explains how to do it manually.
Flags:
--max-pods: Maximum number of pods the k0s kubelet can run
create-api-token
Create an API token for Zylon Usage:sudo zylon-cli create-api-token
doctor
Check the health of Zylon setup Usage:sudo zylon-cli doctor
download
Download a specific version of Zylon Usage:sudo zylon-cli download --help
Flags:
--airgap: Enable airgap mode (installs everything)--arch: Target CPU architecture--binaries: Install portable binaries--cuda-version: Minimum CUDA version the installed NVIDIA driver must support (default:13.4)--driver-version: NVIDIA driver (open kernel modules) to install: a branch (e.g.615, latest release is used) or an exact version (e.g.615.78.08) (default:615)--drivers: Install NVIDIA drivers--force: Force reinstallation of existing components--images: Install container images--models: AI models (can be specified multiple times or comma-separated) (default:[])--os: Target OS (ubuntu22, ubuntu24)--packages: Install APT packages--source: Source to download artifacts from (s3 or source) (default:s3)
export
Export a specific version of Zylon artifacts Usage:sudo zylon-cli export --help
Flags:
--arch: Target architecture--cuda-version: Minimum CUDA version the installed NVIDIA driver must support (default:13.4)--driver-version: NVIDIA driver (open kernel modules) to install: a branch (e.g.615, latest release is used) or an exact version (e.g.615.78.08) (default:615)--from: Base version for incremental export (exports only differences)--models: AI models (can be specified multiple times or comma-separated) (default:[])--no-binaries: Exclude portable binaries--no-cluster-chart: Exclude cluster Helm charts--no-drivers: Exclude NVIDIA drivers--no-images: Exclude container images--no-packages: Exclude APT packages--no-zylon-chart: Exclude Zylon Helm charts--os: Target operating system--output: Output tar or tar.gz file path (defaults tozylon-{version}-{os}-{arch}.tar)--yes: Skip user confirmation
forge
Forge models for Zylon Usage:sudo zylon-cli forge
forward
Forward a command to a running service Usage:sudo zylon-cli forward --help
Flags:
-a, --args: Arguments to pass to the command-c, --command: Command to run-s, --service: Service name
help
Help about any command Usage:sudo zylon-cli help
import
Import Zylon artifacts from a tar or tar.gz archive Usage:sudo zylon-cli import
install
Install Zylon with the current configuration Usage:sudo zylon-cli install --help
Flags:
--airgap: Enable airgap mode (installs everything)--cuda-version: Minimum CUDA version the installed NVIDIA driver must support (default:13.4)--driver-version: NVIDIA driver (open kernel modules) to install: a branch (e.g.615, latest release is used) or an exact version (e.g.615.78.08) (default:615)--force: Force reinstallation of existing components--images: Install container images--models: AI models (can be specified multiple times or comma-separated) (default:[])--no-binaries: Exclude portable binaries--no-cluster-chart: Exclude cluster Helm charts--no-drivers: Exclude NVIDIA drivers--no-packages: Exclude APT packages--no-zylon-chart: Exclude Zylon Helm charts--skip-final-checks: Skip final checks after installation--skip-migrations: Skip running migrations before installation--skip-preflight: Skip preflight checks before installation--source: Source to download artifacts from (s3 or source). Only applicable in non-airgap mode (default:s3)
install-drivers
Install NVIDIA drivers Usage:sudo zylon-cli install-drivers --help
Uninstalls the current NVIDIA drivers and installs the selected NVIDIA driver with the open GPU kernel modules. By default it installs the latest release of the 615 branch, which must support CUDA 13.4 or newer. A reboot is usually required after the old drivers are removed; re-run the command after rebooting to complete the installation.
Flags:
--cuda-version: Minimum CUDA version the installed NVIDIA driver must support (default:13.4)--driver-version: NVIDIA driver (open kernel modules) to install: a branch (e.g.615, latest release is used) or an exact version (e.g.615.78.08) (default:615)-f, --force: Force install drivers. It also checks NVIDIA for a newer release of the selected branch instead of reusing the one already downloaded
--driver-version and --cuda-version flags are available in install, download and export. See Nvidia Drivers for details.
list-versions
List the currently installed Zylon version Usage:sudo zylon-cli list-versions --help
Flags:
--changelog: Show changelog links (default:true)--offline: Indicate offline installation (no S3 access)
preflight
Execute preflight checks Usage:sudo zylon-cli preflight --help
Flags:
--fresh-system: Validate fresh system installations--network: Validate network access to required domains (for semi-airgap installations)-v, --verbose: Enable verbose output with detailed information
restart
Restart Zylon services Usage:sudo zylon-cli restart
restore
Restore from a backup Usage:sudo zylon-cli restore --help
Flags:
-f, --backup-file: Path to the backup tar file. If empty, defaults to the latest backup
run-sql
Run SQL commands against Zylon’s database Usage:sudo zylon-cli run-sql --help
Flags:
--db: Target database (default is ‘main’) (default:main)-f, --file: Path to a file containing SQL commands to execute-s, --sql: SQL command to execute
seed
Seed the database Usage:sudo zylon-cli seed --help
Flags:
-e, --email-regex: All emails matching this regex will be allowed to join the organization. Usually this would be .*@.yourdomain.com-o, --org-name: Organization name
sudo zylon-cli admin-password to retrieve the one-time login password for admin@zylon.ai.
self-update
Update the CLI Usage:sudo zylon-cli self-update
sync-kube-config
Sync kube config Usage:sudo zylon-cli sync-kube-config
update
Update Zylon configuration Aliases: sync Usage:sudo zylon-cli update
update-password
Reset the password for a user Usage:sudo zylon-cli update-password --help
Flags:
-e, --email: Account email
upgrade
Upgrade Zylon to the latest version Usage:sudo zylon-cli upgrade