CLI Tool
Download the official CLI package directly from your ZenSailor dashboard under API Documentation → Download CLI. It supports Node.js 22.13 and newer on Linux, macOS, and Windows.
BASH
# Install the downloaded package globally
$npm install --global ./zensailor-cli-*.tgz
# Login to your instance
$zensailor login
# Deploy an existing service
$zensailor service deploy <service-id>
In Windows PowerShell, resolve the downloaded filename before passing it to npm:
POWERSHELL
PS> $cliPackage = Get-ChildItem .\zensailor-cli-*.tgz | Sort-Object LastWriteTime -Descending | Select-Object -First 1
PS> npm install --global $cliPackage.FullName
PS> zensailor login
Create a token in Settings → Security before running zensailor login. The CLI stores the instance URL and token in ~/.zensailor/config.json with owner-only file permissions. Run zensailor --help for organizations, projects, environments, templates, services, nodes, and system tools.
Release-matched and self-hosted: The root release pipeline audits and compiles the CLI, embeds the tarball in the control-plane image, and makes it available from the authenticated dashboard. No npm registry or third-party package host is involved.