CLI Overview

The Nebutra CLI ecosystem — three tools for every stage of your workflow.

Nebutra ships three command-line tools, each with a distinct purpose.


Quick install

# Scaffold a new project (run once) — published as [email protected]+
npx create-sailor@latest my-saas-app

# Install the Nebutra CLI globally (optional — also available via pnpm exec)
# Published as [email protected]+
npm install -g nebutra@latest

# Or use directly inside the monorepo
pnpm exec nebutra --help

When to use which tool

TaskTool
Create a new project from scratchnpx create-sailor
Scaffold an app, package, or componentnebutra generate
Manage Docker infrastructurenebutra infra
Run database migrationsnebutra db migrate
Validate environment variablesnebutra env validate
Add a component from 21st.dev or v0.devnebutra add
Build, lint, typecheck, testpnpm build / lint / typecheck / test
Start a dev serverpnpm dev or nebutra dev
Release packages with changesetspnpm release

Global flags

All nebutra subcommands accept these flags:

FlagDescription
--verboseEnable verbose output
--quietSuppress non-essential output
--format <type>Output format: json, table, plain
--yesSkip all interactive prompts (Agent / CI mode)
--no-interactiveAlias for --yes
--no-colorDisable colored output

Exit codes

CodeMeaning
0Success
1General error
2Invalid arguments
3Resource not found
4Permission denied
5Conflict / already exists
6Network error (retryable)
10Dry-run OK (no changes made)

Environment variables

VariableValuesDescription
NEBUTRA_LOG_LEVELdebug|info|warn|errorCLI log verbosity
NEBUTRA_OUTPUT_FORMATjson|table|plainDefault output format
NO_COLORanyDisable colored output
CIanyAuto-enable non-interactive mode

MCP server

Nebutra ships an MCP (Model Context Protocol) server for AI coding tools (Cursor, Windsurf, Claude Code). Run via nebutra mcp inside the monorepo, or globally:

npx nebutra-mcp

How is this guide?

Edit on GitHub

Last updated on

On this page