Switch quicker between Azure subscriptions
- Azure CLI - installation instructions
- fzf - installation instructions
Copy the binary into your $PATH
# Download the latest release
wget https://github.com/eliasericsson/azswitch/releases/download/v0.1.4/azswitch_0.1.4_linux_amd64.tar.gz
# Extract the archive contents
tar -xvf azswitch_0.1.4_linux_amd64.tar.gz
# Move the binary to a directory in your $PATH
mv azswitch /usr/local/bin/#Download the latest release
curl -LJO https://github.com/eliasericsson/azswitch/releases/download/v0.1.4/azswitch_0.1.4_macOS_64-bit.zip
#Extract the archive contents
unzip azswitch_0.1.4_macOS_64-bit.zip
#Move the binary to a directory in your path
mv azswitch ${HOME}/.local/binInstall using the Chocolatey package manager, will also install the required dependencies:
choco install azswitch --version=0.1.4Download and extract the executable into a folder of your choice. Then add this folder to your PATH to run the application from any terminal.
Examples using
C:\Temp\azswitch_0.1.4_windows_64-bitas the directory
CMD
SET "PATH=C:\Temp\azswitch_0.1.4_windows_64-bit;%PATH%"PowerShell
$env:path = $env:path + ";C:\Temp\azswitch_0.1.4_windows_64-bit"