macOS
brew install mongoshlocal Homebrew formula metadata
brew
mongosh のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install mongoshlocal Homebrew formula metadata
nix profile install nixpkgs#mongoshnixpkgs package indexes · pkgs/by-name/mo/mongosh/package.nix · ソース: api.github.com
scoop install extras/mongoshScoop official bucket manifest trees · bucket/mongosh.json · ソース: api.github.com
概要
MongoDB Shell to connect, configure, query, and work with your MongoDB database
履歴
mongosh is the MongoDB Shell, MongoDB's modern JavaScript and Node.js REPL for interacting with MongoDB deployments in Atlas, local installations, or remote hosts. MongoDB introduced the first preview on 2020-06-08 after deciding that extending the legacy mongo shell was not the right path for a growing MongoDB platform.
The redesign focused on a shell that could be extensible, embeddable in other products, and easier to use in terminals. The public changelog records mongosh v1.0 on 2021-07-09, after a preview series that added features such as transactions support, AWS IAM authentication, script loading, --eval, .mongoshrc.js customization, MongoDB 5.0 support, Stable API-aware autocomplete, and snippets. The GitHub repository is a monorepo for shell components across REPL, browser, Compass, and related environments.
Users run mongosh to test queries, inspect and change data, configure settings, and script database operations with shell helpers on top of the MongoDB driver. MongoDB distributes it as an Apache-2.0 standalone product separate from the MongoDB Server, and package managers such as Homebrew, Nix, and Scoop make it available independently from server releases.
セキュリティ状態
broad file, network, media, or database tool signal. generalized runtime or code generation signal.
リスク yellow · 信頼度 中 · runtime
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
mongosh | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://www.mongodb.com/try/download/shell
インストールメタデータ
| パッケージキー | brew:mongosh |
|---|---|
| バージョン | 2.9.2 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/mongosh |
| ホームページ | https://www.mongodb.com/try/download/shell |
| リポジトリ | https://github.com/mongodb-js/mongosh |
| 上流ドキュメント | https://www.mongodb.com/docs/mongodb-shell |
| ライセンス | Apache-2.0 |
| ソースアーカイブ | https://registry.npmjs.org/@mongosh/cli-repl/-/cli-repl-2.9.2.tgz |
| 最終更新 | 2026-07-20T13:51:29-04:00 |
| Pulse | updated |
| 依存関係 | node |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mongosh |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
mongosh
nix profile install nixpkgs#mongoshextras/mongosh
scoop install extras/mongoshソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.