The Oakestra CLI
Project description
The Oak-CLI is the command line interface for the Oakestra Edge Computing platform.
📚 Check out the Oak-CLI Wiki to get started.
oak (Go CLI) — recommended
The Go-based CLI is a single self-contained binary with no runtime dependencies. It runs on Linux, macOS, and Windows.
Install latest release
Linux / macOS
curl -sSL https://raw.githubusercontent.com/oakestra/oakestra-cli/main/oak_go_cli/install.sh | bash
The script auto-detects your OS and architecture (amd64 / arm64), downloads the latest release binary, installs it to /usr/local/bin/oak, and registers shell completions for bash and zsh.
Windows (PowerShell)
irm https://raw.githubusercontent.com/oakestra/oakestra-cli/main/oak_go_cli/install.ps1 | iex
This downloads the latest oak_cli_windows_amd64.zip, extracts oak.exe, and places it in $Env:LOCALAPPDATA\Programs\oak\, adding that directory to your PATH.
Shell completions
Completions are set up automatically by the install script. To enable them manually:
# zsh — add to ~/.zshrc if not already present
mkdir -p ~/.zsh/completions
oak completion zsh > ~/.zsh/completions/_oak
echo 'fpath=(~/.zsh/completions $fpath)' >> ~/.zshrc
echo 'autoload -Uz compinit && compinit' >> ~/.zshrc
# bash
oak completion bash > /etc/bash_completion.d/oak
# fish
oak completion fish > ~/.config/fish/completions/oak.fish
Build and install from source
Requires Go 1.21+.
# Clone the repository
git clone https://github.com/oakestra/oakestra-cli.git
cd oakestra-cli/oak_go_cli
# Run tests
go test ./...
# Build
go build -o oak .
# Install to $GOPATH/bin (must be on your PATH)
go install .
Quick start
# Point the CLI at your Oakestra root orchestrator
oak config set system_manager_ip <IP>
# Optional: set non-default credentials (default: Admin / Admin)
oak config credentials
# List applications
oak app show
# Create an application from an SLA file
oak app create my_app.json
# List services
oak service show
# Deploy a service instance
oak service deploy <service-id-or-name>
# Scale a service
oak service scale up <service-id-or-name> 3
# Inspect instances
oak service inspect <service-id-or-name>
Run oak --help or oak <command> --help for the full command reference.
oak-cli (Python CLI) — legacy
The original Python-based CLI. Recommended only if you need features not yet available in the Go version.
Benefits
- Native interface for the Oakestra APIs
- Eliminates the need to use external third-party tools
- Accelerated & simpler workflows
- The CLI commands can be chained together and used in custom scripts
- Automates tedious tasks away (e.g. acquiring login token, installing dependencies, and much more!)
Requirements
- Linux (preferably Debian/Ubuntu)
- Python 3.10+
Install from PyPI
pip install oak-cli
Install from source
git clone https://github.com/oakestra/oakestra-cli.git
cd oakestra-cli
make install-cli
Uninstall
make uninstall-cli
# or
pip uninstall oak-cli
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file oak_cli-0.5.5.tar.gz.
File metadata
- Download URL: oak_cli-0.5.5.tar.gz
- Upload date:
- Size: 261.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94ccfc993be4add0897560f81750b9d92633e171f02279efcc1792ce4bd34ef0
|
|
| MD5 |
8047aee71a812370c1ddc42049518921
|
|
| BLAKE2b-256 |
a8290cc12fdb8a3ef5d3001c2e2f403ae56b28c3d151d1dd19bff0a8090625ab
|
Provenance
The following attestation bundles were made for oak_cli-0.5.5.tar.gz:
Publisher:
pypi_publish.yml on oakestra/oakestra-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
oak_cli-0.5.5.tar.gz -
Subject digest:
94ccfc993be4add0897560f81750b9d92633e171f02279efcc1792ce4bd34ef0 - Sigstore transparency entry: 1160760156
- Sigstore integration time:
-
Permalink:
oakestra/oakestra-cli@3f9f1f6da9e8d16c59772e82161f15db11d71406 -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/oakestra
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi_publish.yml@3f9f1f6da9e8d16c59772e82161f15db11d71406 -
Trigger Event:
push
-
Statement type:
File details
Details for the file oak_cli-0.5.5-py3-none-any.whl.
File metadata
- Download URL: oak_cli-0.5.5-py3-none-any.whl
- Upload date:
- Size: 289.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fecd193ac1cee2425b4dce747c8e1136ca058a248f4e02eb344afa70af0fdc5
|
|
| MD5 |
be3b01a9a558d5c6643ebaa8780e32da
|
|
| BLAKE2b-256 |
32d2229b79514f08619a35084e284dd9526a871e30e63255bda472709ee550d6
|
Provenance
The following attestation bundles were made for oak_cli-0.5.5-py3-none-any.whl:
Publisher:
pypi_publish.yml on oakestra/oakestra-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
oak_cli-0.5.5-py3-none-any.whl -
Subject digest:
4fecd193ac1cee2425b4dce747c8e1136ca058a248f4e02eb344afa70af0fdc5 - Sigstore transparency entry: 1160760214
- Sigstore integration time:
-
Permalink:
oakestra/oakestra-cli@3f9f1f6da9e8d16c59772e82161f15db11d71406 -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/oakestra
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi_publish.yml@3f9f1f6da9e8d16c59772e82161f15db11d71406 -
Trigger Event:
push
-
Statement type: