Skip to content

CLI Overview

OzeanJs CLI is the official Command-Line Interface (CLI) for the OzeanJs Framework, designed to help you quickly start new projects and generate various application components.

The easiest way to use it is by running it via bunx, which does not require a global installation:

Terminal window
bunx ozean-cli <command>

Alternatively, if you want to install it globally to use the ozean command directly from anywhere in your terminal:

Terminal window
bun add -g ozean-cli

After installation, you can check the version and view all available commands.

Use the -v or --version flag to see the currently installed CLI version.

Terminal window
ozean -v

Use the --help flag to see a list of all available commands, along with their descriptions and options.

Terminal window
# View help for the main command
ozean --help
# View help for a subcommand (e.g., generate)
ozean <command> --help