Automic VaultAutomic Vault

brew

mongosh を Homebrew, Nix, scoop でインストール

mongosh のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install mongosh

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#mongosh

nixpkgs package indexes · pkgs/by-name/mo/mongosh/package.nix · ソース: api.github.com

Windows

Scoop確認済み · 92%
scoop install extras/mongosh

Scoop official bucket manifest trees · bucket/mongosh.json · ソース: api.github.com

概要

パッケージ概要

MongoDB Shell to connect, configure, query, and work with your MongoDB database

コマンドとエイリアス

  • mongosh

履歴

プロジェクトの歴史と使われ方

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.

セキュリティ状態

リスクレベル: yellow

broad file, network, media, or database tool signal. generalized runtime or code generation signal.

リスク分類器

リスク yellow · 信頼度 中 · runtime

理由

  • broad file, network, media, or database tool signal
  • generalized runtime or code generation signal

信号

  • text:database
  • text:shell

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
mongoshcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版2.9.2
マネージャ更新日2026-07-20
ローカルデータOK
上流not checked
検出された最新未検出

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
Pulseupdated
依存関係node
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemongosh
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

mongosh

nix profile install nixpkgs#mongosh
  • normalized package name match
  • 一致条件: Mongosh
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/mo/mongosh/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Scoop95%

extras/mongosh

scoop install extras/mongosh
  • normalized package name match
  • 一致条件: Mongosh
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/mongosh.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment