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

@blakeui/cli

v1.0.0

Published

A CLI tool that unlocks seamless BlakeUI integration

Readme

The CLI offers a suite of commands to initialize, manage, and improve your BlakeUI projects. It enables you to install, uninstall, or upgrade BlakeUI packages, assess the health of your project, and more.

Quick Start

Note: The BlakeUI CLI requires Node.js 22+ or later

You can choose the following ways to start the BlakeUI CLI.

Npx

npx @blakeui/cli@latest

Global Installation

npm install -g @blakeui/cli

Usage

Usage: blakeui [command]

Options:
  -v, --version                  Output the current version
  --no-cache                     Disable cache, by default data will be cached for 30m after the first request
  -d, --debug                    Debug mode will not install dependencies
  -h --help                      Display help information for commands

Commands:
  init [options] [projectName]   Initializes a new project
  install [options]              Installs @blakeui/react and @blakeui/styles in your project
  upgrade [options]              Upgrades @blakeui/react and @blakeui/styles to the latest versions
  uninstall [options]            Uninstalls @blakeui/react and @blakeui/styles from the project
  list [options]                 Lists installed BlakeUI packages (@blakeui/react, @blakeui/styles)
  env [options]                  Displays debugging information for the local environment
  doctor [options]               Checks for issues in the project
  agents-md [options]            Downloads BlakeUI documentation for AI coding agents
  help [command]                 Display help for command

Analytics

The agents-md command collects anonymous usage data.

What we collect: Selection (react/native/both), output file names, duration, success or error. No file paths, or project contents are collected.

Opt out: Set BLAKEUI_ANALYTICS_DISABLED=1 in your environment or shell profile.

Commands

Init

Initialize a new BlakeUI project with official templates.

blakeui init [projectName] [options]

Init Options

  • -t --template [string] The template to use for the new project e.g. app, pages, vite
  • -p --package [string] The package manager to use for the new project
Example
# Initialize a new BlakeUI project with the app template, named my-blakeui-app using pnpm
blakeui init my-blakeui-app -t app -p pnpm

Alternatively, you can run init without any flags and select an option from the prompt.

blakeui init

output:

BlakeUI CLI <version>

┌  Create a new project
│
◇  Select a template (Enter to select)
│  ● App (A Next.js 16 with app directory template pre-configured with BlakeUI (v3) and Tailwind CSS.)
│  ○ Pages (A Next.js 16 with pages directory template pre-configured with BlakeUI (v3) and Tailwind CSS.)
│  ○ Vite (A Vite template pre-configured with BlakeUI (v3) and Tailwind CSS.)
│
◇  New project name (Enter to skip with default name)
│  my-blakeui-app
│
◇  Select a package manager (Enter to select)
│  ● npm
│  ○ yarn
│  ○ pnpm
│  ○ bun
│
◇  Template created successfully!
│
◇  Next steps ───────╮
│                    │
│  cd my-blakeui-app  │
│  npm install       │
│                    │
├────────────────────╯
│
└  🚀 Get started with npm run dev

Install

Install @blakeui/react and @blakeui/styles in your project, along with their peer dependencies. If they are already installed, the command does nothing.

blakeui install [options]

Install Options

  • -p --packagePath [string] The path to the package.json file
Example
blakeui install

Output:

BlakeUI CLI <version>

📦 Packages to be installed:
╭─────────────────────────────────────────────────────────────────────────────╮
│   Package          │   Version        │   Status   │   Docs                 │
│─────────────────────────────────────────────────────────────────────────────│
│   @blakeui/react    │   3.0.0          │   stable   │   https://blakeui.com   │
│   @blakeui/styles   │   3.0.0          │   stable   │   https://blakeui.com   │
╰─────────────────────────────────────────────────────────────────────────────╯

╭─────────────── PeerDependencies ────────────────╮
│  [email protected]                      latest       │
│  [email protected]                  latest       │
│  [email protected]                 latest       │
╰─────────────────────────────────────────────────╯
? Proceed with installation? › - Use arrow-keys. Return to submit.
❯   Yes
    No

✅ @blakeui/react and @blakeui/styles installed successfully

Upgrade

Upgrade @blakeui/react and @blakeui/styles with their peer dependencies to the latest versions.

blakeui upgrade [options]

Upgrade Options

  • -p --packagePath [string] The path to the package.json file
Example
blakeui upgrade

Output:

BlakeUI CLI <version>

╭──────────────────────────── Upgrade ────────────────────────────╮
│  @blakeui/react               ^3.0.0  ->  ^3.1.0                │
│  @blakeui/styles              ^3.0.0  ->  ^3.1.0                │
╰─────────────────────────────────────────────────────────────────╯

? Would you like to proceed with the upgrade? › - Use arrow-keys. Return to submit.
❯   Yes
    No

✅ Upgrade complete. All packages are up to date.

Uninstall

Uninstall @blakeui/react and @blakeui/styles from your project. Peer dependencies will not be deleted.

blakeui uninstall [options]

Uninstall Options

  • -p --packagePath [string] The path to the package.json file
Example
blakeui uninstall

Output:

BlakeUI CLI <version>

❗️ Packages slated for uninstallation:
╭──────────────────────────────────────────────────────────────────────────────────────╮
│   Package          │   Version   │   Status   │   Docs                               │
│──────────────────────────────────────────────────────────────────────────────────────│
│   @blakeui/react    │   3.0.0     │   stable   │   https://blakeui.com                 │
│   @blakeui/styles   │   3.0.0     │   stable   │   https://blakeui.com                 │
╰──────────────────────────────────────────────────────────────────────────────────────╯
? Confirm uninstallation of these packages: › - Use arrow-keys. Return to submit.
❯   Yes
    No

✅ Successfully uninstalled: @blakeui/react, @blakeui/styles

List

List the installed BlakeUI packages (@blakeui/react, @blakeui/styles).

blakeui list [options]

List Options

  • -p --packagePath [string] The path to the package.json file
Example
blakeui list

Output:

BlakeUI CLI <version>

Current installed packages:

╭──────────────────────────────────────────────────────────────────────────────────────╮
│   Package          │   Version          │   Status   │   Docs                        │
│──────────────────────────────────────────────────────────────────────────────────────│
│   @blakeui/react    │   3.0.0 🚀latest   │   stable   │   https://blakeui.com          │
│   @blakeui/styles   │   3.0.0 🚀latest   │   stable   │   https://blakeui.com          │
╰──────────────────────────────────────────────────────────────────────────────────────╯

Doctor

Check for issues in your project.

blakeui doctor [options]

Features

  1. Check whether @blakeui/react and @blakeui/styles are installed
  2. Check whether required peer dependencies are installed and matched minimal requirements in the project

Doctor Options

  • -p --packagePath [string] The path to the package.json file
Example
blakeui doctor

Output:

If there is a problem in your project, the doctor command will display the problem information.

BlakeUI CLI <version>

BlakeUI CLI: ❌ Your project has 1 issue that require attention

❗️Issue 1: missingBlakeUIPackages

The following BlakeUI packages are not installed:
- @blakeui/styles

Run `blakeui install` to install them.

Otherwise, the doctor command will display the following message.

BlakeUI CLI <version>

✅ Your project has no detected issues.

Env

Display debug information about the local environment.

blakeui env [options]

Env Options

  • -p --packagePath [string] The path to the package.json file
Example
blakeui env

Output:

BlakeUI CLI <version>

Current installed packages:

╭──────────────────────────────────────────────────────────────────────────────────────╮
│   Package          │   Version          │   Status   │   Docs                        │
│──────────────────────────────────────────────────────────────────────────────────────│
│   @blakeui/react    │   3.0.0 🚀latest   │   stable   │   https://blakeui.com          │
│   @blakeui/styles   │   3.0.0 🚀latest   │   stable   │   https://blakeui.com          │
╰──────────────────────────────────────────────────────────────────────────────────────╯

Environment Info:
  System:
    OS: darwin
    CPU: arm64
  Binaries:
    Node: v25.8.1

Agents-md

Download BlakeUI documentation for AI coding agents (Claude, Cursor, etc.). This command downloads the latest documentation from the BlakeUI repository and generates an index file that can be injected into markdown files like AGENTS.md or CLAUDE.md to help AI assistants understand your project's BlakeUI setup.

blakeui agents-md [options]

Features

  1. Downloads latest BlakeUI documentation from the v3 branch
  2. Supports React, Native, and Migration (v2→v3) documentation
  3. Generates a section for the selected library (React, Native, or Migration) in the markdown file
  4. Automatically adds .blakeui-docs/ to .gitignore

Agents-md Options

  • --react [boolean] Include React docs only (one library at a time)
  • --native [boolean] Include Native docs only
  • --migration [boolean] Include BlakeUI v2 to v3 migration docs only
  • --output <file> [string] Target file path (e.g., AGENTS.md, CLAUDE.md)
  • --ssh [boolean] Use SSH instead of HTTPS for git clone

Example

Run the command without any flags to enter interactive mode:

blakeui agents-md

Download React docs to a specific file:

blakeui agents-md --react --output AGENTS.md

Download Native docs:

blakeui agents-md --native --output CLAUDE.md

Download migration docs (v2→v3):

blakeui agents-md --migration --output AGENTS.md

Use SSH for cloning (useful if HTTPS fails):

blakeui agents-md --react --ssh --output AGENTS.md

How It Works

  1. Downloads Documentation: Clones the BlakeUI repository using git sparse-checkout to download only the documentation files
  2. Generates Index: Creates a compact index of all documentation files organized by directory
  3. Injects into Markdown: Injects the index into your specified markdown file (e.g., AGENTS.md) with special markers:
    • <!-- BLAKEUI-REACT-AGENTS-MD-START --> / <!-- BLAKEUI-REACT-AGENTS-MD-END --> for React docs
    • <!-- BLAKEUI-NATIVE-AGENTS-MD-START --> / <!-- BLAKEUI-NATIVE-AGENTS-MD-END --> for Native docs
    • <!-- BLAKEUI-MIGRATION-AGENTS-MD-START --> / <!-- BLAKEUI-MIGRATION-AGENTS-MD-END --> for Migration docs
  4. Single library: Only one of React, Native, or Migration can be selected at a time

File Structure

After running the command, you'll have:

your-project/
├── .blakeui-docs/          # Downloaded documentation (gitignored)
│   ├── react/            # React documentation files (if selected)
│   ├── native/           # Native documentation files (if selected)
│   └── migration/        # Migration docs (v2→v3, if selected)
├── AGENTS.md             # Your markdown file with injected index
└── .gitignore            # Updated to include .blakeui-docs/

Notes

  • The command always downloads the latest documentation from the v3 branch
  • Documentation is stored in .blakeui-docs/ which is automatically added to .gitignore

Community

We're excited to see the community adopt BlakeUI CLI, raise issues, and provide feedback. Whether it's a feature request, bug report, or a project to showcase, please get involved!

Contributing

Contributions are always welcome!

See CONTRIBUTING.md for ways to get started.

Please adhere to this project's CODE_OF_CONDUCT.

License

MIT