fieldtrip
tools / hosting / netlify / claude code

Netlify in Claude Code.

Claude Code can make test deploys and read logs on Netlify, but going live or deleting anything needs your OK. This is for Claude Code on your own Mac or Linux computer.

failed Nov 16 · Netlify CLI

fieldtrip add netlify

New to fieldtrip? Install it first: curl -fsSL fieldtrip.sh/install | sh

Claude Code can

  • Make draft deploys and share the link.
  • Read your logs and settings.

Asks you first

  • Put a deploy live.
  • Delete a site or stored files.
  • Change your settings or secrets.

Try asking Claude Code

Paste one into Claude Code. Underneath: what it runs.

How it’s set up for Claude Code

the keyIn Claude Code's own settings, ~/.claude/settings.json. Only the commands Claude Code runs can see it. Your Terminal can't.
the noteSaved as a Claude Code skill, ~/.claude/skills/netlify. Claude Code reads it when you ask about Netlify. It says how to use Netlify, and what to check with you about first.
after setupQuit Claude Code fully and reopen it. It reads its settings when it starts.
two checksUnless you've turned it off, Claude Code also asks before it runs a command. fieldtrip's note adds a second check, on top of that one.
check itAsk Claude Code on your computer to run fieldtrip doctor. It should say “Running in Claude Code” and show a ✓ beside Netlify.

Do this once.

  1. Make a key on Netlify. It reaches every site you can, so use a separate account if your AI should see less. fieldtrip will give you the link.
  2. Paste your key when fieldtrip asks you to.

Your key goes into your Terminal when fieldtrip asks. It never goes through Claude Code’s chat.

Checked every night

Not last night. Likely a hiccup, not Netlify.

version27.19.0
what failedinstalling
whynpm stopped without saying why
whenMon, Nov 16 · 11:09 AM CST
beforepassed Nov 15 on this same version

Each square is one night.

Claude Code on the web

When you use Claude Code at claude.ai/code, it runs on a computer in the cloud, not yours. It can use Netlify’s tool there too, but fieldtrip can’t set it up for you yet: you’d store your key as a secret in the cloud environment’s settings and install the tool yourself. We’ve done it by hand with Linear; Netlify hasn’t been tested there yet.

← All of Netlify: every AI, every version · Netlify in Codex → · Netlify in Cursor → · What’s a CLI?