下载并安装 Azure Data StudioDownload and install Azure Data Studio

Azure Data Studio 是一种跨平台的数据库工具,适合在 Windows、macOS 和 Linux 上使用本地和云数据平台的数据专业人员。Azure Data Studio is a cross-platform database tool for data professionals using on-premises and cloud data platforms on Windows, macOS, and Linux.

Azure Data Studio 利用 IntelliSense、代码片段、源代码管理集成和集成终端提供新式编辑器体验。Azure Data Studio offers a modern editor experience with IntelliSense, code snippets, source control integration, and an integrated terminal. 它在设计时考虑了数据平台用户,带有内置查询结果集图表和可自定义的仪表板。It's engineered with the data platform user in mind, with built-in charting of query result sets and customizable dashboards. 有关 Azure Data Studio 的详细信息,请访问什么是 Azure Data StudioFor more information about Azure Data Studio, visit What is Azure Data Studio.

下载最新版本Download the latest release

平台Platform 下载Download 发布日期Release date 版本Version
WindowsWindows 用户安装程序(推荐)User Installer (recommended)
系统安装程序System Installer
.zip.zip
2020 年 12 月 11 日December 11, 2020 1.25.11.25.1
macOSmacOS .zip.zip 2020 年 12 月 11 日December 11, 2020 1.25.11.25.1
LinuxLinux .deb.deb
.rpm.rpm
.tar.gz.tar.gz
2020 年 12 月 11 日December 11, 2020 1.25.11.25.1

有关最新版本的详细信息,请参阅发行说明For details about the latest release, see the release notes.

获取适用于 Windows 的 Azure Data StudioGet Azure Data Studio for Windows

重要

从 SQL Server Management Studio (SSMS) 18.7 开始,Azure Data Studio 将自动与 SSMS 一起安装。Beginning with SQL Server Management Studio (SSMS) 18.7, Azure Data Studio is automatically installed alongside SSMS. SQL Server Management Studio 的用户现在可以从 Azure Data Studio 的创新和功能中获益。Users of SQL Server Management Studio are now able to benefit from the innovations and features in Azure Data Studio. Azure Data Studio 是适用于你的环境的跨平台开源桌面工具,无论是在云中、本地还是混合环境中。Azure Data Studio is a cross-platform and open-source desktop tool for your environments, whether in the cloud, on-premises, or hybrid.

若要了解有关 Azure Data Studio 的详细信息,请查看什么是 Azure Data Studio常见问题解答To learn more about Azure Data Studio, check out What is Azure Data Studio or the FAQ.

此版本的 Azure Data Studio 包含标准 Windows Installer 体验和 .zip 文件。This release of Azure Data Studio includes a standard Windows Installer experience and a .zip file.

建议使用用户安装程序,因为它不需要管理员权限,从而简化安装和升级。We recommend the user installer because it doesn't require administrator privileges, simplifying both installs and upgrades. 用户安装程序不需要管理员权限,因为它位于用户本地的 AppData (LOCALAPPDATA) 文件夹下。The user installer doesn't require Administrator privileges as the location is under your user Local AppData (LOCALAPPDATA) folder. 用户安装程序还提供更流畅的后台更新体验。The user installer also provides a smoother background update experience. 有关详细信息,请参阅 Windows 用户设置For more information, see User setup for Windows.

用户安装程序(推荐)User Installer (recommended)

  1. 下载并运行适用于 Windows 的 Azure Data Studio 用户安装程序Download and run the Azure Data Studio user installer for Windows.
  2. 启动 Azure Data Studio 应用。Start the Azure Data Studio app.

系统安装程序System Installer

  1. 下载并运行适用于 Windows 的 Azure Data Studio 系统安装程序Download and run the Azure Data Studio system installer for Windows.
  2. 启动 Azure Data Studio 应用。Start the Azure Data Studio app.

zip 文件.zip file

  1. 下载适用于 Windows 的 Azure Data Studio .zipDownload Azure Data Studio .zip for Windows.
  2. 浏览到下载文件并将其解压缩。Browse to the downloaded file and extract it.
  3. \azuredatastudio-windows\azuredatastudio.exe运行Run \azuredatastudio-windows\azuredatastudio.exe

获取适用于 macOS 的 Azure Data StudioGet Azure Data Studio for macOS

  1. 下载适用于 macOS 的 Azure Data StudioDownload Azure Data Studio for macOS.
  2. 若要展开 zip 的内容,请双击。To expand the contents of the zip, double-click it.
  3. 若要使 Azure Data Studio 在启动板中可用,请将 Azure Data Studio.app 拖到“Applications”文件夹中 。To make Azure Data Studio available in the Launchpad, drag Azure Data Studio.app to the Applications folder.

获取适用于 Linux 的 Azure Data StudioGet Azure Data Studio for Linux

  1. 通过使用安装程序之一或 tar.gz 存档来下载适用于 Linux 的 Azure Data Studio:Download Azure Data Studio for Linux by using one of the installers or the tar.gz archive:

  2. 若要提取文件并启动 Azure Data Studio,请打开一个新的终端窗口并键入以下命令:To extract the file and launch Azure Data Studio, open a new Terminal window and type the following commands:

    Debian 安装:Debian Installation:

    cd ~
    sudo dpkg -i ./Downloads/azuredatastudio-linux-<version string>.deb
    
    azuredatastudio
    

    rpm 安装:rpm Installation:

    cd ~
    yum install ./Downloads/azuredatastudio-linux-<version string>.rpm
    
    azuredatastudio
    

    tar.gz 安装:tar.gz Installation:

    cd ~
    cp ~/Downloads/azuredatastudio-linux-<version string>.tar.gz ~ 
    tar -xvf ~/azuredatastudio-linux-<version string>.tar.gz 
    echo 'export PATH="$PATH:~/azuredatastudio-linux-x64"' >> ~/.bashrc
    source ~/.bashrc
    azuredatastudio
    

    备注

    在 Debian、Redhat 和 Ubuntu 上,可能缺少依赖项。On Debian, Redhat, and Ubuntu, you may have missing dependencies. 使用以下命令安装这些依赖项,具体取决于你的 Linux 版本:Use the following commands to install these dependencies depending on your version of Linux:

    Debian:Debian:

    sudo apt-get install libunwind8
    

    Redhat:Redhat:

    yum install libXScrnSaver
    

    Ubuntu:Ubuntu:

    sudo apt-get install libxss1
    
    sudo apt-get install libgconf-2-4
    
    sudo apt-get install libunwind8
    

下载 Azure Data Studio 的预览体验内部版本Download Insiders build of Azure Data Studio

通常,用户应下载上述 Azure Data Studio 的稳定版本。In general, users should download the stable release of Azure Data Studio above. 但是,如果希望试用 Beta 版功能并发送反馈,可以下载 Azure Data Studio 的预览体验内部版本。However, if you want to try out the beta features and send feedback, you can download the Insiders build of Azure Data Studio.

受支持的操作系统Supported Operating Systems

Azure Data Studio 在 Windows、macOS 和 Linux 上运行,并在以下平台上受支持:Azure Data Studio runs on Windows, macOS, and Linux and is supported on the following platforms:

WindowsWindows

  • Windows 10(64 位)Windows 10 (64-bit)
  • Windows 8.1(64 位)Windows 8.1 (64-bit)
  • Windows 8(64 位)Windows 8 (64-bit)
  • Windows 7 (SP1)Windows 7 (SP1)
  • Windows Server 2019Windows Server 2019
  • Windows Server 2016Windows Server 2016
  • Windows Server 2012 R2(64 位)Windows Server 2012 R2 (64-bit)
  • Windows Server 2012(64 位)Windows Server 2012 (64-bit)
  • Windows Server 2008 R2(64 位)Windows Server 2008 R2 (64-bit)

macOSmacOS

  • macOS 10.15 CatalinamacOS 10.15 Catalina
  • macOS 10.14 MojavemacOS 10.14 Mojave
  • macOS 10.13 High SierramacOS 10.13 High Sierra
  • macOS 10.12 SierramacOS 10.12 Sierra
  • macOS 11.1 Big SurmacOS 11.1 Big Sur

LinuxLinux

  • Red Hat Enterprise Linux 7.4Red Hat Enterprise Linux 7.4
  • Red Hat Enterprise Linux 7.3Red Hat Enterprise Linux 7.3
  • SUSE Linux Enterprise Server v12 SP2SUSE Linux Enterprise Server v12 SP2
  • Ubuntu 16.04Ubuntu 16.04
推荐/最低Recommended/Minimum CPU 内核数CPU Cores 内存/RAMMemory/RAM
建议Recommended 44 8 GB8 GB
最小值Minimum 22 4 GB4 GB

检查更新Check for updates

若要检查是否有最新更新,请选择窗口左下角的齿轮图标,然后选择“检查是否有更新”。To check for the latest updates, select the gear icon on the bottom left of the window and select Check for Updates.

脱机环境可以通过直接在以前安装的版本上安装最新版本来应用更新。Offline environment updates can be applied by installing the latest version directly over a previously installed version. 不需要卸载 Azure Data Studio 的先前版本。Uninstalling prior versions of Azure Data Studio isn't necessary. 安装程序将更新当前安装的应用程序(如果有)。The installer updates a currently installed application if present.

支持的 SQL 产品/服务Supported SQL offerings

移动用户设置Move user settings

如果要将 SQL Operations Studio 更新为 Azure Data Studio 且希望保留设置、键盘快捷方式或代码片段,请按照以下步骤操作。If you're updating SQL Operations Studio to Azure Data Studio and want to keep your settings, keyboard shortcuts, or code snippets, follow the steps below.

如果已经拥有 Azure Data Studio,或从未安装或自定义过 SQL Operations Studio,可忽略此部分。If you already have Azure Data Studio, or you've never installed or customized SQL Operations Studio, then you can ignore this section.

  1. 选择左下方的齿轮,然后选择“设置”,以打开设置。Open Settings by selecting the gear on the bottom left and selecting Settings.

    编辑 Azure Data Studio 中的设置

  2. 右键单击顶部的“用户设置”选项卡,然后选择“在资源管理器中显示” Right-click the User Settings tab on top and select Reveal in Explorer

    启动资源管理器,它将转到本地文件系统

  3. 复制此文件夹中的所有文件,并将其保存在本地驱动器上易于查找的位置,例如文档文件夹。Copy all files in this folder and save in an easy to find the location on your local drive, like your Documents folder.

    使用这些文件并将其复制到你的位置

  4. 在新版 Azure Data Studio 中,执行步骤 1-2,然后在步骤 3 中将保存的内容粘贴到文件夹。In your new version of Azure Data Studio, follow steps 1-2, then for step 3, paste the contents you saved into the folder. 也可以在其各自位置上手动复制设置、键绑定或代码片段。You can also manually copy over the settings, key bindings, or snippets in their respective locations.

  5. 若要覆盖现有安装,请在安装之前删除旧安装目录,以避免连接到资源浏览器的 Azure 帐户时出错。If overriding an existing installation, delete the old install directory before installation to avoid errors connecting to your Azure account for the resource explorer.

适用于 Windows 的无人参与安装Unattended install for Windows

还可以使用命令提示符脚本安装 Azure Data Studio。You can also install Azure Data Studio using a command prompt script.

如果你使用 Windows 平台,并且想要在没有 GUI 提示的情况下在后台安装 Azure Data Studio,请执行以下步骤。If you want to install Azure Data Studio in the background with no GUI prompts, and you're on the Windows platform, then follow the steps below.

  1. 使用提升的权限启动命令提示符。Launch the command prompt with elevated permissions.

  2. 在命令提示符下键入以下命令。Type the command below in the command prompt.

    <path where the azuredatastudio-windows-user-setup-x.xx.x.exe file is located> /VERYSILENT /MERGETASKS=!runcode>
    

    示例:Example:

    %systemdrive%\azuredatastudio-windows-user-setup-1.24.0.exe /VERYSILENT /MERGETASKS=!runcode
    

    备注

    该示例还适用于系统安装程序文件。The example also works with the system installer file.

    <path where the azuredatastudio-windows-setup-x.xx.x.exe file is located> /VERYSILENT /MERGETASKS=!runcode>
    

    你也可以传递 /SILENT 而不是 /VERYSILENT 来查看设置 UI 。You can also pass /SILENT instead of /VERYSILENT to see the setup UI.

  3. 如果一切顺利,便可以看到 Azure Data Studio 安装成功。If all goes well, you can see Azure Data Studio installed.

卸载 Azure Data StudioUninstall Azure Data Studio

如果使用 Windows 安装程序安装了 Azure Data Studio,则卸载方式与删除任何 Windows 应用程序相同。If you installed Azure Data Studio using the Windows Installer, then uninstall the same way you remove any Windows application.

如果使用 .zip 或其他存档安装了 Azure Data Studio,则删除文件。If you installed Azure Data Studio with a .zip or other archive, then delete the files.

后续步骤Next Steps

请参阅以下快速入门以开始使用:See one of the following quickstarts to get started:

获取 SQL 工具的帮助

参与编辑 SQL 文档

你是否知道你可以自己编辑内容?Did you know that you could edit the content yourself? 这样做不仅可以改进我们的文档,还可以获得页面贡献者的殊荣。If you do so, not only will our documentation improve, but you'll also be credited as a contributor to the page.

Microsoft 隐私声明使用情况数据收集Microsoft Privacy Statement and usage data collection.