CLI Reference
Command-line interface for managing Antigravity Kit installations.
Overview
The ag-kit CLI tool helps you manage Antigravity Kit installations across your projects.
Commands
ag-kit init
Initialize Antigravity Kit in your project by installing the .agent folder.
ag-kit initBehavior
- • Creates
.agent/directory in current folder - • Downloads latest templates from GitHub
- • Skips if
.agent/already exists (use--forceto override)
ag-kit update
Update your existing Antigravity Kit installation to the latest version.
ag-kit updateWarning: This will delete and replace your .agent/ folder. Make sure to backup any custom changes.
ag-kit status
Check the current installation status and version information.
ag-kit statusOutput Includes
- • Installation status (installed/not installed)
- • Current version
- • Agent count
- • Skill count
- • Workflow count
Options
Customize CLI behavior with these options:
| Option | Description |
|---|---|
--force | Overwrite existing .agent folder |
--path <dir> | Install in specific directory instead of current folder |
--branch <name> | Use specific Git branch (default: main) |
--quiet | Suppress output (useful for CI/CD pipelines) |
--dry-run | Preview actions without executing |
Examples
Force reinstall
ag-kit init --forceInstall in specific directory
ag-kit init --path ./my-projectUse development branch
ag-kit init --branch devSilent install for CI/CD
ag-kit init --quiet --force