macOS
brew install nblocal Homebrew formula metadata
sudo port install nbMacPorts ports tree · office/nb/Portfile · source: api.github.com
brew
Command-line and local web note-taking, bookmarking, and archiving. Version 7.25.4 via Homebrew; verified 2026-06-14.
install
brew install nblocal Homebrew formula metadata
sudo port install nbMacPorts ports tree · office/nb/Portfile · source: api.github.com
sudo apk add nbAlpine Linux edge package indexes · nb · source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#nbnixpkgs package indexes · pkgs/by-name/nb/nb/package.nix · source: api.github.com
overview
Command-line and local web note-taking, bookmarking, and archiving
history
nb is a shell-script personal knowledge tool: notes, bookmarks, archives, todos, wiki-style links, search, encryption, Git-backed version history, and sync wrapped in one command-line and local-web interface.
The GitHub repository was created on 2016-01-12. The project presents itself as a portable, vendor-independent Unix tool rather than a hosted notes service: data lives in plain text formats such as Markdown, Org, LaTeX, and AsciiDoc, and the implementation is deliberately packaged as a single portable script with optional enhancements.
Its design grew around composability with existing command-line habits. The README emphasizes use with Vim, Emacs, VS Code, Sublime Text, Helix, micro, terminal browsers, GUI browsers, Git, Pandoc, OpenSSL/GPG encryption, and standard Unix environments including macOS and Windows via WSL, MSYS, and Cygwin.
GitHub API data retrieved on 2026-07-01 showed 8,266 stars and 252 forks. Homebrew Formulae data for the same retrieval showed version 7.25.4 and 2,815 installs over the prior 365 days. The npm package nb.sh was created on 2020-06-17 and the npm downloads API reported 1,450 downloads for 2026-05-30 through 2026-06-28.
The package sits in the command-line PKM and plain-text productivity niche: large enough to be packaged by common package managers and discussed by terminal-tool users, but still most useful to people who already want their notes and bookmarks as files rather than SaaS records.
Package nerds use nb as a local-first notebook and bookmark database: add notes from the terminal, save URLs as cleaned Markdown, search cached page text with regular expressions, tag and pin items, and let Git record revisions and synchronize notebooks.
A typical setup is intentionally boring: install nb, keep ~/.nbrc for preferences, point it at an editor, and optionally add Pandoc, ripgrep/ag/grep, browser helpers, GPG/OpenSSL, and remote Git sync as the workflow grows.
nb is interesting because it is not a new storage backend. It packages a familiar Unix stack into a cohesive notes/bookmarks/archive workflow while keeping the escape hatch obvious: the data remains ordinary files under Git.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.nbrcexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
bookmark | cli | global executable | |
nb | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:nb |
|---|---|
| Version | 7.25.4 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/nb |
| Homepage | https://xwmx.github.io/nb |
| Repository | https://github.com/xwmx/nb |
| Upstream docs | https://github.com/xwmx/nb#readme |
| License | AGPL-3.0-or-later |
| Source archive | https://github.com/xwmx/nb/archive/refs/tags/7.25.4.tar.gz |
| Last updated | 2026-06-14T05:08:25Z |
| Pulse | updated |
| Dependencies | bat, nmap, pandoc, ripgrep, tig, w3m |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | nb |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
nb
nix profile install nixpkgs#nbnb 7.24.1-r0
Command line note-taking, bookmarking, archiving, and knowledge base application
sudo apk add nbnb-bash-completion 7.24.1-r0
Bash completions for nb
sudo apk add nb-bash-completionnb-doc 7.24.1-r0
Command line note-taking, bookmarking, archiving, and knowledge base application (documentation)
sudo apk add nb-docnb-fish-completion 7.24.1-r0
Fish completions for nb
sudo apk add nb-fish-completionnb-full 7.24.1-r0
More utilities that integrate with nb
sudo apk add nb-fullnb-zsh-completion 7.24.1-r0
Zsh completions for nb
sudo apk add nb-zsh-completionnb
sudo port install nbsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.