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

@onebrain-ai/cli

v3.4.15

Published

Local-first Rust CLI for OneBrain — personal AI OS. Downloads the matching platform binary from GitHub Releases on install.

Downloads

7,205

Readme

@onebrain-ai/cli

npm wrapper for the OneBrain CLI — the local-first Rust binary that powers the OneBrain personal AI OS.

npm install -g @onebrain-ai/cli
onebrain --version

This package is a thin installer. On install, postinstall.js downloads the matching platform-native binary from the corresponding GitHub Release, verifies its SHA-256, and stages it at ./bin/onebrain (onebrain.exe on Windows); the onebrain command is a small Node shim that execs the native binary.

📖 Full documentation — install paths, the command tree, output modes, architecture, and roadmap — lives in the repo README.

Supported platforms

The postinstall auto-detects your host and pulls the matching binary. On Linux it detects libc (glibc vs musl) and 32-bit ARM version (ARMv6 vs ARMv7) at install time — every Raspberry Pi from Pi 1 to Pi 5 is covered.

| Host | Binary | |---|---| | macOS · Apple Silicon (M1–M5) | onebrain-aarch64-apple-darwin.tar.gz | | macOS · Intel | onebrain-x86_64-apple-darwin.tar.gz | | Linux · ARM64 glibc (Pi 3/4/5 64-bit OS · Pi Zero 2 W) | onebrain-aarch64-unknown-linux-gnu.tar.gz | | Linux · ARMv7 32-bit (Pi 2 v1.1+ · Pi 3/4/5 32-bit OS) | onebrain-armv7-unknown-linux-gnueabihf.tar.gz | | Linux · ARMv6 32-bit (Pi 1 · Pi Zero · Pi Zero W) | onebrain-arm-unknown-linux-gnueabihf.tar.gz | | Linux · x86_64 glibc | onebrain-x86_64-unknown-linux-gnu.tar.gz | | Linux · x86_64 musl / Alpine | onebrain-x86_64-unknown-linux-musl.tar.gz | | Windows · ARM64 | onebrain-aarch64-pc-windows-msvc.zip | | Windows · x86_64 | onebrain-x86_64-pc-windows-msvc.zip |

If auto-detection misfires, override it: ONEBRAIN_CLI_LIBC=glibc|musl or ONEBRAIN_CLI_ARM=v6|v7 before npm install. (Note: only x86_64 musl is published — arm64 musl hosts should use a glibc base or build from source.)

Other install paths

  • Homebrew (macOS, canonical) — brew install onebrain-ai/onebrain/onebrain
  • Direct download — grab the binary for your platform from the latest release
  • Self-update once installed — onebrain update (Homebrew installs delegate to brew upgrade)

All paths resolve to the same per-platform binary — see the repo README for the full comparison.

Skipping postinstall (CI)

For environments that supply the binary out-of-band:

ONEBRAIN_CLI_SKIP_POSTINSTALL=1 npm install -g @onebrain-ai/cli

The shim runs but exits 127 until the binary is staged at node_modules/@onebrain-ai/cli/bin/onebrain.

Releasing & license

Source lives at npm-wrapper/. CI publishes on each stable vMAJOR.MINOR.PATCH tag via npm Trusted Publishers (OIDC, no long-lived token) with --provenance for a Sigstore attestation — never published manually, and prerelease tags (containing -) are skipped. The wrapper version always equals the binary release version.

MIT OR Apache-2.0 at your option, matching the upstream CLI binary. Questions: [email protected].