Docs HomeMongoDB Compass

Download and Install Compass下载并安装Compass

Important

MongoDB Compass doesn't support virtual desktop environments.MongoDB Compass不支持虚拟桌面环境。

Select your operating system:选择您的操作系统:

Software Requirements软件要求

Compass requires:Compass要求:

  • 64-bit version of Microsoft Windows 7 or later.64位版本的Microsoft Windows 7或更高版本。
  • MongoDB 4.2 or later.
  • Microsoft .NET Framework version 4.5 or later.

    The Compass installer prompts you to install the minimum required version of the .NET framework if it is not already installed on your system.Compass安装程序会提示您安装.NET framework的最低要求版本(如果您的系统上尚未安装)。

  • Starting the installation as an administrator if you are running a silent installation using Microsoft PowerShell or installing on Azure Virtual Desktop Infrastructure (VDI).如果您正在使用Microsoft PowerShell运行静默安装或在Azure虚拟桌面基础结构(VDI)上安装,则以管理员身份启动安装。

Software Requirements软件要求

Compass requires:Compass要求:

  • 64-bit version of macOS 10.12 or later.64位版本的macOS 10.12或更高版本。
  • MongoDB 4.2 or later.MongoDB 4.2或更高版本。

Compass supports x64 and ARM64 architectures.Compass支持x64和ARM64体系结构。

  • M1 Silicon is a supported ARM64 architecture and has a separate binary in the download center.M1 Silicon是一个受支持的ARM64体系结构,在下载中心有一个单独的二进制文件。

Select the appropriate tab based on your Linux distribution and desired package from the tabs below:根据您的Linux发行版和所需的软件包,从下面的选项卡中选择适当的选项卡:

  • To install the .deb package on Ubuntu and Debian, click the .deb tab.要在Ubuntu和Debian上安装.deb包,请单击.deb选项卡。
  • To install the .rpm package on RHEL, click the .rpm tab.要在“RHEL”上安装.rpm软件包,请单击.rpm选项卡。

Software Requirements软件要求

Compass requires:Compass要求:

  • 64-bit version of Ubuntu 14.04 or later.Ubuntu 14.04或更高版本的64位版本。
  • MongoDB 4.2 or later.

Software Requirements软件要求

Compass requires:Compass要求:

  • 64-bit version of RHEL 7+ or later.RHEL 7+或更高版本的64位版本。
  • MongoDB 4.2 or later.

Download Compass下载Compass

To download Compass, you can use your preferred web browser.要下载Compass,您可以使用您喜欢的网络浏览器。

  1. Open the downloads page.打开下载页面
  2. Select the installer you prefer. 选择您喜欢的安装程序。The MongoDB Compass installer is available as a .exe or .msi package or a .zip archive.MongoDB Compass安装程序以.exe.msi包或.zip存档的形式提供。
  3. Download the latest version of MongoDB Compass for Windows.下载最新版本的MongoDB Compass for Windows。

Download Compass下载Compass

To download Compass, you can use your preferred web browser.要下载Compass,您可以使用您喜欢的网络浏览器。

  1. Open the downloads page.打开下载页面
  2. Download the latest version of MongoDB Compass for macOS. 下载适用于macOS的MongoDB Compass的最新版本。The MongoDB Compass installer is a .dmg disk image.MongoDB Compass安装程序是一个.dmg磁盘映像。

Install Compass安装Compass

  1. Double-click the installer file.双击安装程序文件。
  2. Follow the prompts to install Compass. 按照提示安装Compass。You can select the destination of the Compass installation.您可以选择Compass安装的目的地。
  3. Once installed, Compass launches and prompts you to configure privacy settings and specify update preferences.安装后,Compass将启动并提示您配置隐私设置和指定更新首选项。

Install Compass安装Compass

  1. Once you have downloaded Compass, double-click on the .dmg file to open the disk image within the macOS Finder.下载Compass后,双击.dmg文件,在macOS Finder中打开磁盘映像。
  2. Drag the MongoDB Compass application to your Applications folder.将MongoDB Compass应用程序拖动到“Applications”文件夹中。
  3. Eject the disk image.弹出磁盘映像。
  4. From the Applications folder, double-click on the Compass icon to start the application.在“Applications”文件夹中,双击Compass图标以启动应用程序。
  5. When you open MongoDB Compass for the first time, you may receive a notice stating that it is an application downloaded from the internet, requiring you to confirm you want to open it. 当你第一次打开MongoDB Compass时,你可能会收到一个通知,说明它是从互联网上下载的应用程序,要求你确认要打开它。Click Open to continue and launch Compass.单击“打开”继续并启动“Compass”。
Note

Depending on your system's security settings, you may have to modify your system settings to grant Compass permissions to run. 根据系统的安全设置,您可能必须修改系统设置才能授予Compass运行权限。You may be prompted to enter your system password before launching Compass.在启动Compass之前,系统可能会提示您输入系统密码。