npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@gitcode-cli/cli

v0.12.0

Published

GitCode CLI — the open-source command line tool for GitCode, distributed via npm with bundled multi-platform binaries.

Readme

@gitcode-cli/cli

The open-source GitCode CLI distributed via npm with bundled multi-platform binaries (Linux x64/ARM64, macOS x64/ARM64, Windows x64). No separate binary download is needed after the bootstrap or global installation.

GitCode CLI (gc / gitcode) is the community-developed, MIT-licensed command line tool for GitCode — bringing repositories, issues, pull requests, releases and Actions back to the terminal for developers, scripts, and AI agents. It is an independent open-source project, not published by the GitCode platform team.

Install

One-line bootstrap (no global npm install)

npx -y @gitcode-cli/cli@latest install

The short command is intended for trusted user environments and inherits the current npm configuration. For CI, audits, untrusted project directories, custom registries, or a custom target directory, use the hardened form:

npx --yes --ignore-scripts --registry=https://registry.npmjs.org --@gitcode-cli:registry=https://registry.npmjs.org @gitcode-cli/cli@latest install
npx --yes --ignore-scripts --registry=https://registry.npmjs.org --@gitcode-cli:registry=https://registry.npmjs.org @gitcode-cli/cli@latest install --target-dir /custom/bin

Copies the platform binary to a global bin dir (/usr/local/bin if writable, else ~/.local/bin). On Linux/macOS it also installs bash/zsh/fish completions. If an older installation left a same-directory gitcode -> gc alias, bootstrap migrates that verified alias transactionally; links to any other target are never overwritten. On Windows it installs both gc.exe and gitcode.exe, then prepends the install directory to the persistent user PATH. Pass --no-modify-path to opt out. An npx child process cannot refresh the already-running PowerShell process, so the installer prints explicit Chinese instructions for refreshing $env:Path immediately or closing all PowerShell/Windows Terminal windows before reopening. It never changes the machine PATH or removes another package manager's entry. Use gitcode in PowerShell because gc is the built-in Get-Content alias.

An explicit --target-dir replaces regular gc/gitcode files inside that directory. Do not point it at Python Scripts, an npm prefix, or another package manager-owned directory.

Do not use npm i @gitcode-cli/cli as a CLI installation command. It only adds a dependency to the current project's node_modules and does not replace an existing gitcode earlier on PATH.

Global npm install

npm install -g --ignore-scripts --registry=https://registry.npmjs.org --@gitcode-cli:registry=https://registry.npmjs.org @gitcode-cli/cli@latest
gitcode version

Installation diagnostics and updates

gitcode doctor install
gitcode doctor install --json
gitcode update --check
gitcode update

Global npm and npm-bootstrap installations default to notify: after a normal command, a detached helper checks the stable latest tag from the official npm registry at most once every 24 hours, then prompts on the next launch without installing. Run gitcode update explicitly, or opt in to automatic application with update.mode auto. Updates use a minimal child environment, --ignore-scripts, a process lock, health check, and rollback. Registry, permission, or offline failures never change the completed command's exit code.

gitcode config set update.mode auto
gitcode config set update.mode notify
gitcode config set update.mode off
GC_NO_UPDATE_CHECK=1 gitcode version

CI=true and --no-interactive disable background checks. The updater touches only @gitcode-cli/cli; it never invokes pip, Homebrew, apt, dnf, or rpm, and it never rewrites PATH. If another gitcode is earlier on PATH, npm's non-failing install check and doctor install report the exact candidates and remediation choices.

Supported platforms

| OS | Arch | | --- | --- | | Linux | x64, arm64 | | macOS | x64, arm64 | | Windows | x64 |

Windows arm64 is not shipped by npm, wheel, or release archives yet; build from source with Go for that target. On other unsupported combinations, use only a channel that explicitly lists the OS/architecture: https://gitcode.com/gitcode-cli/cli/releases

Links

  • Repository: https://gitcode.com/gitcode-cli/cli
  • Issues: https://gitcode.com/gitcode-cli/cli/issues
  • Command reference: https://gitcode.com/gitcode-cli/cli/blob/main/docs/COMMANDS.md
  • Feishu/Lark notifications: https://gitcode.com/gitcode-cli/cli/blob/main/docs/LARK.md

License

MIT