Skip to content
pinegrow.com

Using Claude Code in Pinegrow

Use Claude Code as the AI agent that edits your pages in Pinegrow Desktop.

On this page

By default, Pinegrow runs Claude Code with permissions to execute commands and edit files without asking for confirmation. Always use it with source control such as Git.

Watch a video overview

Are you using OpenAI Codex? Read these instructions instead.

Benefits

There are three major benefits of using Claude Code:

  • Agents are smarter and can do more than just API calls to AI providers.
  • You can use Claude Code without paying extra if you already have a Claude subscription
  • And now with Pinegrow, you get to work with Claude Code visually.

Install Claude Code

Follow the official Claude Code documentation to install Claude Code on your computer.

Add Claude Code provider in Pinegrow

Open AI Settings with the tools button in the row with Send, or choose Support & Settings › AI Settings…. Uncheck Simple configuration if it is checked, then click Anthropic Claude Code CLI settings under API providers:

AI Settings: the API providers list ends with OpenAI Codex settings and Anthropic Claude Code CLI settings (both Beta and Active), above the Quick, Smart and Search model selects.

A dialog will open:

The Anthropic Claude Code CLI settings dialog: Claude Code needs to be installed and logged in, a note that it runs with permissions to execute commands and edit files, the Claude Code CLI command claude, Deactivate this provider, Hide the provider, Arguments, Extra PATH entries and Test setup.

Claude Code CLI command

Enter the name of the Claude Code program in Claude Code CLI command.

Try entering claude and then click on the Test setup button.

If the command is not found you have to enter the full path to the command. In Terminal, run which claude and use the displayed path.

Passing extra arguments

Use the Arguments field for command line options that configure how Claude Code works. See the Claude Code configuration documentation for reference.

Extra PATH entries

If Claude Code needs programs from a folder that isn't on Pinegrow's PATH, for example Node.js when you installed Claude Code with npm, enter the folder in this field. In most cases, this is not required. Only use this field if the Test setup does not succeed despite entering the full command name into the Claude Code CLI command.

Hide the provider

When Hide the provider is checked, Claude Code is left out of the model menu. Uncheck it to choose Claude Code as a model.

Select the Claude Code model

Pinegrow lists one Claude Code model, Claude Code CLI: Claude Code. It uses the default model of your Claude Code configuration. Right-click the Smart toggle below the prompt, type claude in the search field and choose it:

The model menu opened by right-clicking the Smart toggle below the prompt, with claude code typed in its search field: Claude Code CLI: Claude Code is the first entry.