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

@dosu/cli

v0.35.0

Published

Dosu CLI - Manage MCP servers for AI tools

Readme

dosu-cli

Connect Dosu to your AI coding tools. dosu authenticates you, picks a Dosu deployment, and wires the Dosu MCP server into Claude Code, Cursor, Codex, and more — plus commands to drive the Dosu platform from your terminal.

npm version CI codecov License: MIT

Quick Start

curl -fsSL https://cli.dosu.dev/install | sh

The interactive wizard authenticates you via browser OAuth, lets you pick a Dosu deployment (or OSS / public-library mode), mints an API key, detects which AI tools you have installed, and writes the Dosu MCP server entry into each one's config. Restart your AI tool and Dosu is available.

Run dosu with no arguments any time to open the interactive menu.

Installation

curl / install (macOS / Linux) (Recommended)

Downloads and installs the latest stable release binary.

curl -fsSL https://cli.dosu.dev/install | sh

To install a specific release tag:

DOSU_INSTALL_VERSION=v0.2.0-rc1 curl -fsSL https://cli.dosu.dev/install | sh

npx / npm

Requires Node.js 22+.

npx @dosu/cli setup

Or install globally:

npm install -g @dosu/cli
dosu setup

Homebrew

brew install dosu-ai/dosu/dosu

Or tap first:

brew tap dosu-ai/dosu
brew install dosu

Manual Download

Download the appropriate archive from the Releases page.

macOS Gatekeeper Warning

When downloading directly from GitHub releases on macOS, you may see:

"Apple could not verify dosu is free of malware that may harm your Mac or compromise your privacy."

This happens because the binary is not signed with an Apple Developer certificate. To bypass this:

# After extracting the archive, remove the quarantine attribute:
xattr -d com.apple.quarantine ./dosu

Or right-click the binary, select "Open", and click "Open" in the dialog.

Note: Installing via Homebrew avoids this issue automatically.

Usage

Core commands

| Command | Description | |---|---| | dosu | Launch the interactive TUI menu | | dosu setup | Run the setup wizard (auth → deployment → detect tools → configure) | | dosu login | Authenticate with Dosu via browser OAuth | | dosu logout | Clear saved credentials | | dosu status | Show current authentication and MCP status | | dosu mcp list | List supported AI tools | | dosu mcp add <tool> | Add the Dosu MCP server to a specific tool | | dosu logs | View or manage debug logs (--tail, --clear) |

dosu mcp add takes -g, --global to install for all projects instead of project-local, and --show-secret to print the full manual config.

Platform commands

Once authenticated against a deployment, you can drive the Dosu platform without leaving the terminal:

| Command | Description | |---|---| | dosu ask | Ask a question and get an AI-generated answer | | dosu knowledge | Search and browse your knowledge base | | dosu docs | Manage documents (list, create, update, import, publish, AI-generate) | | dosu suggest | Review and manage AI document suggestions | | dosu threads | List and manage conversation threads | | dosu review | Document review workflow | | dosu sources | Manage connected data sources (list, sync, update) | | dosu integrations | List and inspect platform integrations (Slack, GitHub, …) | | dosu tags | List knowledge base tags and tagged pages | | dosu members | Manage team members and access requests | | dosu org | Show organization information | | dosu deployments | List / show / switch deployments | | dosu analytics | View usage statistics | | dosu insights | Open a visual report of your Dosu space activity | | dosu skill | Install / update / remove the Dosu agent skill | | dosu hooks | Install / remove / diagnose Dosu coding-agent hooks |

Run dosu <command> --help for subcommands and flags.

Supported AI tools

dosu mcp add <id> and the setup wizard support:

| ID | Tool | |---|---| | claude | Claude Code | | claude-desktop | Claude Desktop | | cursor | Cursor | | vscode | VS Code | | codex | Codex CLI | | gemini | Gemini CLI | | windsurf | Windsurf | | zed | Zed | | cline | Cline | | cline-cli | Cline CLI | | copilot | GitHub Copilot CLI | | opencode | OpenCode | | antigravity | Antigravity | | mcporter | MCPorter | | factory | Factory | | manual | Manual Configuration (prints config to paste yourself) |

Non-interactive / agent setup

For coding agents and CI, setup has a non-interactive mode:

dosu setup --agent --tool claude

Combine with dosu login --request / --check <ticket> for human-in-the-loop authentication, and --mode oss|cloud to skip the mode prompt.

Configuration

Credentials and the selected deployment live in ~/.config/dosu-cli/config.json. Set DOSU_DEV=true to isolate config under ~/.config/dosu-cli-dev/.

To repoint a published build at a different backend without rebuilding, set any of these runtime overrides:

  • DOSU_WEB_APP_URL_OVERRIDE
  • DOSU_BACKEND_URL_OVERRIDE
  • SUPABASE_URL_OVERRIDE
  • SUPABASE_ANON_KEY_OVERRIDE

Development

bun install        # install dependencies
bun run dev        # run the CLI from source
bun run test       # run tests (vitest)
bun run check      # lint + format check (Biome)
bun run typecheck  # tsc --noEmit

See AGENTS.md for architecture and contributor notes.

Releasing (for maintainers)

Releases are fully automated with semantic-release — there are no manual version tags. Every push to a release branch is analyzed for Conventional Commit messages, which determine the version bump.

| Branch | npm dist-tag | Version shape | |---|---|---| | main | latest | 0.20.1 | | alpha | alpha | 0.20.1-alpha.1 |

On a qualifying push, the CI pipeline bumps the version, builds binaries for all platforms, creates a GitHub release with the archives, publishes to npm, and (for stable releases only) updates the Homebrew formula.

Commit messages that don't follow Conventional Commits are invisible to semantic-release and won't trigger a release. See AGENTS.md for the full type → release-impact table and the alpha channel workflow.

License

MIT — see the license field in package.json.