Your product lead plans the work in Grove. You and your coding agent build it. Grove hands your agent a whole project, ready to build: the outcomes it must deliver, the product decisions already made, and a way to ask when something is unclear. When you ship, Grove checks the code against the plan.
For a short walkthrough, see Quick start for builders. This article covers the setup in full.
How the work flows
Your product lead marks a project Ready to build.
You pick it up. Your agent copies the project's plan into your repo, checks it against your code, and brings you any gaps before it builds. To pick up a project, run
grove project assign P-003. Grove copies the plan into.grove/project/, moves the project to Building, and adds you as a member.You ask when the plan is unclear. Your agent raises a thread, and your product lead answers in Grove. Answers and plan changes reach your agent through the project's activity log.
You link your pull request with
Part of P-003, and add a claims block that names the outcomes it delivers. Your product lead then sees your work next to each outcome.Grove reads the merged code and checks it against each outcome. Your product lead reviews and marks the work done.
The plan holds the product decisions: what to build and how it behaves. How you build it is up to you.
Install the Grove CLI
In Grove, click your picture at the bottom right, then Connect your agent.
Open the Build with a coding agent tab.
Under Install the Grove CLI, choose npm or Script. Copy the command, and run it in your terminal.
Both ways need Node.js 22 or later.
npm runs
npm install -g @grovehq/cli. npm installs the CLI like any other package.Script downloads the CLI, checks it before it installs it, and puts it in
~/.grove/. It needscurl, andsha256sumorshasum. Most macOS and Linux systems have them. On Windows, run it in WSL or Git Bash.
If you used the script and your terminal doesn't recognize grove afterwards, add this line to your shell startup file (~/.zshrc or ~/.bashrc), then open a new terminal:
export PATH="$HOME/.grove/bin:$PATH"
If you install both ways, the script's copy is the one that runs, and it tells you so. To use the npm copy, delete ~/.grove/bin and ~/.grove/cli. Your sign-in and settings stay.
Sign in
grove login
Your browser opens. Sign in with your Grove account. The terminal then shows "Logged in as" and your email. If the browser doesn't open, the terminal shows a link to open yourself. Sign-in times out after 2 minutes.
Grove saves your sign-in in ~/.grove/auth.json. To sign out, run grove logout.
Work in more than one workspace
The CLI works in one workspace at a time.
grove workspace listshows your workspaces. The active one has a*.grove workspace switchlets you pick another one.
Set up your repo
You do this once for each repo. Copy the prompt under Ask your agent to set Grove up in your repo, or paste this one to your coding agent:
Set Grove up in this repo: install the Grove CLI (`npm install -g @grovehq/cli`) if it isn't already, run `grove init`, do what it says, and open a PR for it.
grove init prints a short instruction. Your agent adds it to CLAUDE.md, AGENTS.md, and GEMINI.md at the root of your repo, so every coding agent reads it. The instruction tells the agent to run grove when it starts work in a worktree. Merge the pull request.
Grove keeps its working files in a .grove/ folder. Add .grove/ to your .gitignore.
What grove tells your agent
When your agent runs grove with nothing after it, Grove says what this worktree is for:
A project is assigned: Grove names it, and lists what the pull request must carry. It also reminds your agent to offer a thread for any gap it finds in the plan as it works.
No project is assigned yet: Grove helps your agent find one. If your branch name has a project ID in it, such as
p-003-move-a-visit, Grove suggests that project, and already prints how to link the pull request to it, with a claims block filled in with the project's outcomes. Your agent still asks you before it picks the project up.No project applies: you recorded that with
grove project assign --none, and Grove stops asking.
Grove also says when a project's plan has changed since your agent last copied it. Run grove project sync P-003 to get the new plan. See Quick start for builders.
Keep the CLI up to date
How you upgrade depends on how you installed:
Script:
grove upgradenpm:
npm install -g @grovehq/cli@latestnpx:
npx @grovehq/cli@latest
On an npm install, grove upgrade prints the npm command for you. When a newer version is out, the CLI tells you and names the command to run. If your version is too old to work with Grove, every command stops and names the command that upgrades it.

