Skip to main content
The Talos CLI (@talosjs/cli) scaffolds applications, modules, controllers, services, and other resources from code generation templates. It exposes two binaries, talos and its short alias oo, which are interchangeable.

Prerequisites

The CLI runs on Bun. Install Bun before installing the CLI:
curl -fsSL https://bun.sh/install | bash
Verify the installation:
bun --version

Global installation

Install the CLI globally with Bun:
bun add -g @talosjs/cli
Confirm it is available:
talos help
Both talos and oo resolve to the same binary, so every command in this section can be run with either name:
talos app:create
oo app:create
To run the CLI without a global install, invoke it through bunx:
bunx @talosjs/cli@latest app:create

Zsh completions

The CLI ships context-aware Zsh completions for both the oo and talos binaries, including per-command option suggestions. Install them with:
talos completion:zsh
This writes the completion files to ~/.zsh/_oo and ~/.zsh/_talos. Then add the following to your ~/.zshrc if it is not already present, so Zsh can find and load the completions:
fpath=(~/.zsh $fpath)
autoload -Uz compinit && compinit
Reload your shell or open a new terminal, then press Tab after a command to see available options:
talos controller:create --<Tab>