CLI
Unikraft CLI
The unikraft CLI is the new, official command-line interface for Unikraft Cloud. It provides a modern, streamlined experience for deploying and managing unikernels globally.
Features
- Deploy Instantly - Run unikernel images as serverless instances with
unikraft run - Global Infrastructure - Deploy across supported metros with automatic multi-region support
- Resource Management - Create, read, update, and delete instances, volumes, services, certificates, and images
- Scale-to-Zero - Built-in support for scale-to-zero policies to optimize costs
- Output Formats - Machine-readable JSON or human-friendly text output
- Profile Management - Switch between accounts and configurations
- Shell Completions - Tab completion for Bash, Zsh, Fish, and PowerShell
Installation
On Windows, the installer puts unikraft.exe into %LOCALAPPDATA%\Programs\Unikraft\bin and adds that directory to your user PATH.
Set UNIKRAFT_CLI_INSTALL_BIN_DIR to install somewhere else, or download the Windows zip from the releases page.
unikraft upgrade keeps the Windows build current like any other.
A few limitations apply on Windows:
unikraft buildneeds a BuildKit that builds Linux images, either Docker Desktop's or one you name withBUILDKIT_HOST. See debugging the build and push steps.- There's no Scoop or winget package yet.
See alternative installation instructions for other platforms.
Quick start
Code
View unikraft CLI documentation
The kraft cloud CLI is deprecated.
To move your scripts to the unikraft CLI, see the migration guide.
Last modified on