The togo command — a Laravel-artisan-like CLI for the togo framework.
npm (downloads the prebuilt binary for your platform):
npm install -g @togo-framework/cliLinux / macOS
curl -fsSL https://raw.githubusercontent.com/togo-framework/cli/main/install.sh | shWindows (PowerShell)
irm https://raw.githubusercontent.com/togo-framework/cli/main/install.ps1 | iexWith Go (note the /cmd/togo path — it's what makes the binary togo):
go install github.com/togo-framework/cli/cmd/togo@latestcurl -fsSL https://raw.githubusercontent.com/togo-framework/cli/main/update.sh | sh # Linux/macOS
irm https://raw.githubusercontent.com/togo-framework/cli/main/update.ps1 | iex # WindowsProject togo new <app> · togo dev · togo serve · togo web · togo version · togo upgrade
Make togo make:resource <Name> <field:type...> (model, sqlc, Atlas schema, GraphQL, REST, seeder, page)
togo make:model · make:controller · make:action · make:view · make:plugin
Codegen togo generate (sqlc → gqlgen → Atlas diff/migrate → OpenAPI export)
togo stub:publish
Quality togo format · togo lint · togo test
Marketplace togo install <owner/repo | agent:<name> | skill:<name> | claude> · togo install --list · togo plugin:list
Deploy togo deploy [env]
AI / MCP togo mcp:install · togo mcp:serve · togo agent <description>
Diagnostics togo doctor (checks & auto-installs Go, Node/npm, sqlc, atlas)
Infra togo infra:init <provider>
togo new and the generators auto-install any missing toolchain (Go, Node/npm,
sqlc, atlas); run togo doctor any time to check or repair them.
Everything in the togo marketplace installs with one command:
togo install togo-framework/auth # a plugin (Go capability) — go get + auto-register
togo install agent:togo-backend # an AI agent → .claude/agents/togo-backend.md
togo install skill:resource # a skill → .claude/commands/resource.md
togo install claude # the togo Claude Code plugin (15-agent team + auto-wired MCP)
togo install --list # list every installable plugin, agent and skillAgents and skills are sourced from the togo Claude Code plugin and dropped into your project's .claude/ so Claude Code picks them up immediately.
togo deploy ships a togo app to your server fast — build locally, rsync the
artifact (scp fallback), and run a restart command over SSH. Config lives in
togo.yaml:
deploy:
host: 203.0.113.10
user: deploy
path: /opt/myapp
restart: systemctl restart myapp # run over SSH after upload
# optional: port · ssh_key · build · binary · goos · goarch · remote_build
# multi-environment instead of the inline target:
# default: production
# targets:
# production: { host: …, user: …, path: …, restart: … }
# staging: { host: …, user: …, path: …, restart: … }togo deploy # the inline target (or deploy.default)
togo deploy staging # a named target
togo deploy --dry-run # print the plan, change nothing
togo deploy --remote-build # rsync source and build on the serverEnv overrides: TOGO_DEPLOY_HOST / _USER / _PATH / _SSH_KEY.
togo make:resource Post title:string body:text:nullable published:bool emits
per-resource fragments across six targets plus regenerated route/resolver
registries, all driven by togo.resources.yaml. Field types: string, text, int, bool, float, decimal, uuid, time, date, json; append :nullable (or a
quoted ?) to make a field optional. Flags: --dry-run, --force.
Any executable named togo-<cmd> on PATH or in ~/.togo/bin becomes
togo <cmd> (git/kubectl-style), and togo install owner/repo registers plugin
commands.
MIT
togo is proudly sponsored by ID8 Media and One Studio.
togo install <owner>/<repo> injects a plugin's project-side assets into your app:
.claude/— anyagents/,skills/(orcommands/),hooks/,rules/the plugin ships are copied into your project's.claude/so Claude Code picks them up next session.- frontend — pages/components are injected into your
web/(the app's frontend dir).
Existing project files are kept (merge); pass --force to overwrite. A plugin declares these in togo.plugin.yaml (claude: .claude, frontend.dir: web) or they're auto-detected.