From 2717a991d0ee26ca9e6a8c1fba8d3620aa920aa2 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 9 Jun 2026 09:59:58 +0000 Subject: [PATCH] add: manage azure-cli via mise pipx backend Replace the apt-based azure-cli install with mise pipx (uvx) using --prerelease=allow, and update the README so the bootstrap stays the single source of truth. --- .config/mise/config.toml | 1 + README.md | 15 +++++++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.config/mise/config.toml b/.config/mise/config.toml index 1f320de..9a481f7 100644 --- a/.config/mise/config.toml +++ b/.config/mise/config.toml @@ -22,6 +22,7 @@ uv = "latest" node = "latest" "pipx:snowflake-cli" = "latest" "pipx:apm-cli" = "latest" +"pipx:azure-cli" = { version = "latest", uvx_args = "--prerelease=allow" } # editor neovim = "latest" diff --git a/README.md b/README.md index e255da8..15665ef 100644 --- a/README.md +++ b/README.md @@ -16,10 +16,12 @@ Install the required apt packages. `zsh` is the login shell, and ```sh sudo apt update sudo apt install -y git curl zsh tmux bubblewrap socat unzip -curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash -az extension add --name azure-devops ``` +`azure-cli` is no longer installed here; mise manages it (see +[Tool Manager](#tool-manager)). Its `azure-devops` extension is added +after the bootstrap (see [Azure CLI extensions](#azure-cli-extensions)). + Make zsh the default shell. apt registers it in `/etc/shells`, so `chsh` accepts it directly. This only rewrites the login shell entry (it does not read `.zshrc`), so order relative to the bootstrap does not matter; @@ -58,6 +60,15 @@ Run these on any platform after the prerequisites above. When the bootstrap finishes, reopen the terminal (or start a new login shell) to enter zsh with the linked config. +### Azure CLI extensions + +`azure-cli` itself is installed by mise during the bootstrap. After it is +on `PATH`, add the Azure DevOps extension: + +```sh +az extension add --name azure-devops +``` + zsh keeps its config under `.config/zsh` (XDG); the only file in `$HOME` is a small `.zshenv` stub that sets `ZDOTDIR` and hands off to it. Put machine-local settings in `.config/zsh/.zshenv.local` (environment) or