Skip to main content
The Ooneex CLI (@ooneex/cli) scaffolds applications, modules, controllers, services, and other resources from code generation templates. It exposes two binaries, ooneex 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 @ooneex/cli
Confirm it is available:
ooneex help
Both ooneex and oo resolve to the same binary, so every command in this section can be run with either name:
ooneex app:create
oo app:create
To run the CLI without a global install, invoke it through bunx:
bunx @ooneex/cli@latest app:create

Zsh completions

The CLI ships context-aware Zsh completions for both the oo and ooneex binaries, including per-command option suggestions. Install them with:
ooneex completion:zsh
This writes the completion files to ~/.zsh/_oo and ~/.zsh/_ooneex. If your shell does not already load completions from that directory, add the following to your ~/.zshrc:
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:
ooneex controller:create --<Tab>