Quick Start

Introducing GroundZero, the package manager for AI coding.

Install

Terminal
npm install -g @groundzero-ai/gpm

Associate files and dirs with a formula

Terminal
g0 tag <formula-name> <path-to-dir-or-file>

Mark directories or files as part of a formula for saving.
See tag for detailed usage and more ways to use the tag command.
You can also add the index.yml or yaml frontmatter tags manually.

Terminal
# Example
g0 tag essentials .cursor/rules/essentials
g0 tag essentials .cursor/rules/essentials-overview.md
g0 tag essentials .cursor/commands/essentials
Formulas are essential to how GroundZero works. We highly recommend reading What are Formulas? to understand how formulas work.

Save a formula

Terminal
g0 save <formula-name>

Save the marked set of files in a codebase as a formula for reuse and cross-platform sync.
See save for detailed usage and more ways to use the save command.

Terminal
# Example
g0 save essentials

List formulas

Terminal
g0 list

Use the list command to show all formulas currently saved to the local registry.
See list for more details and options.

Show formula details

Terminal
g0 show <formula-name>

The show command outputs the details of the formula and lists all included files.
See show for more details.

Install a formula

Terminal
g0 install <formula-name>

Use the install command to add all files under the specified formula to the codebase at cwd (current working directory).
See install for more details and options.

Uninstall a formula

Terminal
g0 uninstall <formula-name>

Use the uninstall command to remove all files for the specified formula from the codebase at cwd.
See uninstall for more details and options.