Skip to main content

Command reference

All commands can be run from the shell. With no arguments, ymirr starts the interactive menu.

Project & init

CommandDescription
ymirr initInitialize a project (Convex + ymirr.toml). Options: --name, --pulumi-name, --envs, --provider, --non-interactive.

Deployment

CommandDescription
ymirr statusShow project status (environments, previews, recent events). --env, --watch.
ymirr deployDeploy infrastructure. --env <env>, --stack <stack>, --yes, --non-interactive, --preview-only.
ymirr destroyDestroy a stack. --stack <stack> (required), --yes, --non-interactive.

Services

CommandDescription
ymirr service addAdd a service (interactive).
ymirr service editEdit an existing service (interactive).
ymirr service removeRemove a service (interactive).
ymirr service listList all services.
ymirr service tagSet image tag for a service. --service, --tag, --env (required); optional --project, --deploy.

Environments

CommandDescription
ymirr env addAdd or configure an environment (interactive).
ymirr env editEdit an environment (interactive; choose section or edit all).
ymirr env listList environments.
ymirr env removeRemove an environment (interactive).
ymirr env cloneExport environment config as a .env file. --env <name>, --out <path>.

Developer tools

CommandDescription
ymirr logsShow deployment logs for a stack. --stack <name> (required), --follow.
ymirr ci:genGenerate CI/CD pipeline YAML (GitLab/GitHub).
ymirr generatePreview generated project_configuration.ts. --env, --stack, --out <file>.
ymirr setupConfigure env vars and/or install global packages (interactive).

Netrunner

CommandDescription
ymirr netrunner [args...]Run the Netrunner CLI. All arguments are passed through. Examples:
ymirr netrunner clone list
ymirr netrunner clone create <id> --project <slug>
ymirr netrunner clone destroy <id>
ymirr netrunner clone status <id>

Requires @ymirr/netrunner (install via ymirr setup → Global packages). Auth uses CLI_AUTH_TOKEN or the auth CLI (ymirr login from the legacy ymirr package).

  • Interactive menu — Run ymirr with no arguments. You get Deployment Tools (when in a project), Developer Tools, Setup, and Init. Developer Tools shows fewer options when not in a configured project (only Logs, Export env file, Netrunner — clone).
  • Direct commands — Use the commands above for scripts and CI. Most interactive commands (e.g. service add, env add) still run their wizards when invoked by name.