macOS
brew install nblocal Homebrew formula metadata
sudo port install nbMacPorts ports tree · office/nb/Portfile · ソース: api.github.com
brew
nb のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install nblocal Homebrew formula metadata
sudo port install nbMacPorts ports tree · office/nb/Portfile · ソース: api.github.com
sudo apk add nbAlpine Linux edge package indexes · nb · ソース: dl-cdn.alpinelinux.org
nix profile install nixpkgs#nbnixpkgs package indexes · pkgs/by-name/nb/nb/package.nix · ソース: api.github.com
概要
Command-line and local web note-taking, bookmarking, and archiving
履歴
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
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.
~/.nbrc実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
bookmark | cli | グローバル実行可能ファイル | |
nb | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:nb |
|---|---|
| バージョン | 7.25.4 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/nb |
| ホームページ | https://xwmx.github.io/nb |
| リポジトリ | https://github.com/xwmx/nb |
| 上流ドキュメント | https://github.com/xwmx/nb#readme |
| ライセンス | AGPL-3.0-or-later |
| ソースアーカイブ | https://github.com/xwmx/nb/archive/refs/tags/7.25.4.tar.gz |
| 最終更新 | 2026-06-14T05:08:25Z |
| Pulse | updated |
| 依存関係 | bat, nmap, pandoc, ripgrep, tig, w3m |
| Bottle | 利用可能 (対象 all) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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 nbソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.