AI エージェント向け: ドキュメントインデックスは https://www.mongodb.com/ja-jp/docs/llms.txt で利用できます。すべてのページの markdown バージョンは、いずれかの URL パスに .md を追加することで利用できます。
See how MongoDB 9.0 delivers up to 2x higher throughput.
MongoDB Branding Shape
Register now >
Docs Menu

Atlas CLI のインストールまたはアップデート

Atlas CLI をインストールすると、Atlas データベース配置のターミナルから迅速にプロビジョニングと管理を行えます。

オペレーティング システムが Atlas CLI と互換性があるかどうかを確認するには、「互換性の確認 」を参照してください。

インストール前にパッケージを検証するには、「 Atlas CLI パッケージの整合性を検証する 」を参照してください。

Atlas CLI をすばやくインストールするには、次のいずれかの方法を選択してください。

brew install mongodb-atlas-cli

お使いのオペレーティング システム用のバイナリをダウンロードする。

オペレーティング システム
ダウンロード

Windows

MacOS

Ubuntu/Debian

RHEL/CentOS/SLES/AMZ

Linux

curl -fsSL https://pgp.mongodb.com/server-8.0.asc | \
sudo gpg -o /usr/share/keyrings/mongodb-server-8.0.gpg \
--dearmor
echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-8.0.gpg ] \
https://repo.mongodb.com/apt/ubuntu jammy/mongodb-enterprise/8.0 \
multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise-8.0.list
sudo apt-get update
sudo apt-get install -y mongodb-atlas
sudo tee /etc/yum.repos.d/mongodb-enterprise-8.0.repo <<EOF
[mongodb-enterprise-8.0]
name=MongoDB Enterprise Repository
baseurl=https://repo.mongodb.com/yum/redhat/\$releasever/mongodb-enterprise/8.0/\$basearch/
gpgcheck=1
enabled=1
gpgkey=https://pgp.mongodb.com/server-8.0.asc
EOF
sudo yum install -y mongodb-atlas

インストール方法を選択して、Atlas CLI をインストールまたは更新する詳細手順を表示します。

Atlas CLI から接続し、 Atlas CLI コマンドの使用を開始します。