Skip to content

Use npm install for CLI install command on homepage - #79

Open
rami-stripe wants to merge 1 commit into
mainfrom
rami-stripe/npm-install-cli
Open

Use npm install for CLI install command on homepage#79
rami-stripe wants to merge 1 commit into
mainfrom
rami-stripe/npm-install-cli

Conversation

@rami-stripe

Copy link
Copy Markdown
Collaborator

What

Swaps the homepage CLI install command from brew install stripe/stripe-cli/stripe to npm install -g @stripe/cli@latest everywhere it appears:

  • Hero Get started copy button (data-copy-expand) + reveal panel
  • Mobile and desktop copy bars
  • Bottom Install CLI button (data-copy-cli)
  • The two copy-to-clipboard command constants in the page scripts

The rest of the chain (&& stripe plugin install projects && npx skills add …) is unchanged.

Why

  • npm install -g @stripe/cli@latest is now a supported install path.
  • It's cross-platform (Windows included), unlike the Homebrew-only path.
  • It echoes the hero headline — "You npm install packages. Now stripe projects add services." — so the install command lands the pun.

The Homebrew install path is still reachable via the existing "More CLI install options" link.

Notes

Branched cleanly off main (no unrelated changes). The old brew command still appears in src/llms.txt and a few blog posts — left untouched here; can follow up separately if we want those aligned.

🤖 Generated with Claude Code

Swap `brew install stripe/stripe-cli/stripe` for
`npm install -g @stripe/cli@latest` everywhere the install command
appears on the homepage: the hero "Get started" copy button and reveal
panel, the mobile + desktop copy bars, the bottom "Install CLI" button,
and the copy-to-clipboard script constants.

npm is now a supported install path, is cross-platform (Windows
included), and echoes the hero headline's "You npm install packages"
framing. The Homebrew path remains reachable via the existing
"More CLI install options" link.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Committed-By-Agent: claude
@vercel

vercel Bot commented Aug 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
projects-site Ready Ready Preview Aug 18, 2026 8:47pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant