Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@onebrain-ai/cli

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@onebrain-ai/cli

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

latest
Source
npmnpm
Version
3.2.21
Version published
Weekly downloads
367
-65.01%
Maintainers
1
Weekly downloads
 
Created
Source

@onebrain-ai/cli

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

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.

HostBinary
macOS · Apple Silicon (M1–M5)onebrain-aarch64-apple-darwin.tar.gz
macOS · Intelonebrain-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 glibconebrain-x86_64-unknown-linux-gnu.tar.gz
Linux · x86_64 musl / Alpineonebrain-x86_64-unknown-linux-musl.tar.gz
Windows · ARM64onebrain-aarch64-pc-windows-msvc.zip
Windows · x86_64onebrain-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.

AGPL-3.0-only, matching the upstream CLI binary. For commercial licensing, contact hello@onebrain.run.

Keywords

onebrain

FAQs

Package last updated on 29 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts