Welcome to Nebutra Sailor Docs 🎉
ChangelogIntroductionLicensing
Help Center (External) ↗

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.

create-sailor

Bootstrap a new project with an interactive wizard. Run once per project.

nebutra CLI

Day-to-day development: scaffold code, manage infra, run tests, and more.

pnpm scripts

Turborepo-orchestrated scripts for build, lint, test, and deployment.


Quick install

# Scaffold a new project (run once)
npx create-sailor@latest my-saas-app

# Install the Nebutra CLI globally (optional — also available via pnpm exec)
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
Check capability readiness (live / local-fallback / missing-key)nebutra status
Reconcile env keys against declared capabilitiesnebutra sync
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

Quick install
When to use which tool
Global flags
Exit codes
Environment variables
MCP server