安裝 Azure CLIInstall the Azure CLI

Azure CLI 是命令列工具,可提供管理 Azure 資源的絕佳體驗。The Azure CLI is a command-line tool providing a great experience for managing Azure resources. CLI 的設計訴求是讓您輕鬆撰寫指令碼、查詢資料,並支援長時間執行作業等等。The CLI is designed to make scripting easy, query data, support long-running operations, and more. 馬上試試看 CLI 有何能耐吧!Try it today and find out what the CLI has to offer!

Azure CLI 目前的版本為 2.0.71The current version of the Azure CLI is 2.0.71. 如需最新版本的相關資訊,請參閱版本資訊For information about the latest release, see the release notes. 若要找出已安裝的版本,並查看是否需要更新,請執行 az --versionTo find your installed version and see if you need to update, run az --version.

注意

若您使用的是 Azure 傳統部署模型,請安裝 Azure 傳統 CLIIf you're using the Azure classic deployment model, install the Azure classic CLI.