Skip to content
PluginStats

gh-setup-hooks weekly downloads statistics

By oikon48 · npm · Claude Code

One-line setup for GitHub CLI auto-installation on Claude Code on the Web

View on npm Fresh · Oct 18, 2026

gh-setup-hooks has 970 recorded weekly downloads on npm, ranking #1453 of 2,322 tracked listings.

Weekly downloads
970
Official API · Oct 18, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#1453
Among tracked npm listings

About gh-setup-hooks

gh-setup-hooks

npm version License: MIT

Auto-install GitHub CLI on Claude Code on the Web. Just add one line to settings.json.

Setup

1. Add hook to settings.json

Add to .claude/settings.json:

{
  "hooks": {
    "SessionStart": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "bun x gh-setup-hooks",
            "timeout": 120
          }
        ]
      }
    ]
  }
}

npx -y gh-setup-hooks is also ok.

2. Set up Claude Code on the Web

To use gh commands (e.g., gh pr create), you need to set GH_TOKEN or GITHUB_TOKEN:

  1. Go to Claude Code on the Web
  2. Open Settings → Custom Environment
  3. Add environment variable:

Note: The token needs repo scope for most operations.

Claude Code on the Web network should be Full or Custom. If using Custom, you need to allow release-assets.githubusercontent.com.

<img src="images/cloud-environment-settings.png" width="400" alt="Cloud Environment Settings">

How It Works

  1. Start a session on Claude Code on the Web
  2. SessionStart hook runs npx gh-setup-hooks
  3. Installs gh only in remote environment (CLAUDE_CODE_REMOTE=true)
  4. Installs to ~/.local/bin and persists PATH
  5. Auto-detects GH_REPO from git remote for gh CLI compatibility
  6. Does nothing in local environment

Configuration

Environment VariableDescriptionDefault
GH_SETUP_VERSIONgh version to install2.88.1

License

MIT

References

Description from the npm listing.

  • claude-code
  • github-cli
  • hooks
  • remote
  • setup

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

gh-setup-hooks weekly downloads on npm, last 90 days: 970 weekly downloads as of Oct 18, 2026.gh-setup-hooksWeekly downloads on npm · Last 90 days970downloads / week8509009501K1.1K1.1KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 18, 2026pluginstats.com
gh-setup-hooks weekly downloads on npm, last 90 days: 970 weekly downloads as of Oct 18, 2026.

7/30/90-day growth

gh-setup-hooks weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.gh-setup-hooksWeekly downloads growth on npm970downloads / week now7-day growthinsufficient historyInsufficient history30-day growthinsufficient historyInsufficient history90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
gh-setup-hooks weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.

Ranking history

gh-setup-hooks npm ranking history: currently #1453 (by weekly downloads).gh-setup-hooksnpm ranking · by weekly downloads · Last 90 days#1453current rank#1451#1452#1453#1454#1455Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 20, 2026 – Oct 20, 2026 · 1 observations · Updated Oct 18, 2026pluginstats.com
gh-setup-hooks npm ranking history: currently #1453 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,162 shown · page 73, #16 (overall #1,456)
All npm: every listing in weekly downloads order

Listing placement

Claude Code255 listings · 13 pages · page 10, #6 (overall #186)
Claude Code: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (1)
Recent weekly downloads observations for gh-setup-hooks
Date (UTC)Weekly downloadsChange vs. previous
970—

Similar npm Claude Code plugins

All 20 gh-setup-hooks alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/gh-setup-hooks. First seen Oct 20, 2026; last successful collection Oct 20, 2026. See the methodology.