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

@cloudgrid-io/cli

v0.15.8

Published

The CloudGrid CLI — put your apps and agents on the grid.

Readme

CloudGrid CLI

npm license

Build, ship, and run apps and agents on CloudGrid from your terminal. A directory or a URL becomes a live, addressable thing in about 30 seconds — deploy, tail logs, share, read feedback, all without leaving your shell.

Contents

Install

macOS / Linux — curl

curl -fsSL https://raw.githubusercontent.com/cloudgrid-io/cli/main/install.sh | sh

macOS / Linux — Homebrew

brew install cloudgrid-io/tap/cloudgrid

Cross-platform (incl. Windows) — npm

npm install -g @cloudgrid-io/cli

Requires Node.js 18+.

Verify: cloudgrid --version and cloudgrid doctor. The shorthand cg works for every command.

Quickstart

cloudgrid login          # Google OAuth in the browser
cloudgrid whoami         # confirm user + active org
cloudgrid plug           # build + deploy the current directory, prints the live URL
cloudgrid open           # open it in the browser

No account needed to try a one-off share: cloudgrid plug ./index.html drops a public link.

Examples

# Scaffold and deploy a Node app
cloudgrid init app my-api --type node
cd my-api && cloudgrid plug

# Deploy the current directory and tail its logs
cloudgrid plug
cloudgrid logs --since 10m

# Make a deploy public, then read feedback
cloudgrid visibility set my-api link
cloudgrid feedback

# Switch org, list what's on the grid
cloudgrid use atomic
cloudgrid grid

Commands

| Command | Purpose | |---|---| | login / logout / whoami | Sign in (Google OAuth), sign out, show user + active org | | use [slug] | Set or show the active org | | init <kind> <name> | Register a new app or agent | | plug [target] | Build + deploy (or redeploy); prints the live URL | | dev | Run the linked entity locally with grid-injected resources | | status [name] | Org dashboard, entity detail, or a deploy snapshot | | logs [name] | Stream entity logs | | open [name] | Open the entity URL in the browser | | info [name] / builds [name] | Entity metadata; recent deploys | | visibility set <slug> <mode> | private | authenticated | org | link | | rollback / versions | Roll back to a prior deploy; list/tag minted versions | | env / secrets | Manage runtime env vars and secrets (secret values are never printed) | | grid / list | List what's on your hub / org | | rename / delete / unplug | Rename, archive, take off the grid | | pull / clone / fork | Download source; clone or fork an entity | | feedback [message] | Send feedback to the CloudGrid team | | brain refresh <name> | Re-run Grid Brain metadata (description, tags, diagram) | | doctor | Diagnostic checks (Node, Docker, API reachability, auth) | | completion <shell> | Shell completion script |

Run cloudgrid <command> --help for the full flag set of any command.

Flags

Global:

  • -V, --version — print the CLI version
  • -v, --verbose — detailed output
  • -h, --help — help for any command

Common per-command:

  • --org <slug> — pick/override the org
  • --json — machine-readable output (where supported)
  • --no-clipboard / --no-notify — suppress clipboard copy / OS notification on plug
  • --since <dur> / --tail <n>logs window

Telemetry

The CLI sends three event types to the CloudGrid API while the platform is in pre-release:

  • error — when a verb fails. Captures the v2 error code, HTTP status, request id, and the bare verb (no flags, no positional args).
  • success — on init, plug, dev, login after a clean completion. Captures the verb and elapsed time. No payload from the source tree.
  • feedback — only when you run cloudgrid feedback "<message>".

Every event is JWT-bound (your user id), times out at 250 ms, and never blocks the verb. File paths, command flags, env-var values, JWTs, and credentials are not collected. The feedback verb's --include-log flag is the only freeform path — it ships the scrubbed last 200 lines of ~/.cloudgrid/logs/cli.log.

Disabling telemetry

# One-shot, env var (highest priority — overrides config):
CLOUDGRID_TELEMETRY=0 cloudgrid plug

# Persistent, written to ~/.cloudgrid/config.yaml:
cloudgrid login --no-telemetry

Re-enable with CLOUDGRID_TELEMETRY=1 or by removing telemetry: false from your config file.

Updating

npm update -g @cloudgrid-io/cli      # npm
brew upgrade cloudgrid               # homebrew

cloudgrid doctor warns when a newer version is available.

Uninstall

npm uninstall -g @cloudgrid-io/cli   # npm
brew uninstall cloudgrid             # homebrew
rm -rf ~/.cloudgrid                  # remove stored credentials + config

Troubleshooting

  • cloudgrid: command not found — ensure the npm global bin (or Homebrew bin) is on $PATH; re-run the installer.
  • Auth errors / 401cloudgrid login again; check cloudgrid whoami shows the expected org, switch with cloudgrid use <org>.
  • Deploy fails — run cloudgrid doctor; check cloudgrid logs and cloudgrid status <name> for the trace.

Support

License

Apache-2.0. See LICENSE.