Misar Docs
MisarMailMisar.BlogMisarReachMisarPostMisar.DevMisar PlatformMisar IdentityMisar Posts API
Sdks

CLI

Official Misar.Dev command-line tool — manage projects and usage from the terminal via api.misar.io/dev.

The official Misar.Dev command-line tool. It wraps the TypeScript SDK (@misar/dev) to manage projects and inspect API usage from the terminal.

Installation

npm install -g @misar/dev-cli

This installs the misardev binary. The package is @misar/dev-cli.

Authentication

The CLI reads the API key from the MISARDEV_API_KEY environment variable, or from the global --api-key flag:

export MISARDEV_API_KEY=your-api-key
misardev --api-key your-api-key projects list

If no key is found, the command exits with an error. All requests go to https://api.misar.io/dev with Authorization: Bearer <key>.

Commands

misardev projects list

List all projects.

misardev projects list
misardev projects list --json
FlagDescription
--jsonOutput raw JSON instead of the formatted summary

misardev projects create

Create a new project.

misardev projects create --name "my-app"
misardev projects create --name "my-app" --json
FlagDescription
--name <name>Project name (required)
--jsonOutput raw JSON

misardev usage

Show API usage statistics (requests, tokens, cost).

misardev usage
misardev usage --json
FlagDescription
--jsonOutput raw JSON

Global flags

FlagDescription
--api-key <key>Misar.Dev API key (falls back to MISARDEV_API_KEY)
--versionPrint the CLI version
--helpShow help for any command

This v1.0.0 CLI implements the projects list, projects create, and usage commands. For the full API surface, use the TypeScript SDK.