From 1297f3ac152c1f11c5beb5f57a7e8652b5bc6b38 Mon Sep 17 00:00:00 2001 From: Alex Fundell <71392715+AlexFundell@users.noreply.github.com> Date: Wed, 24 May 2023 10:13:16 +0200 Subject: [PATCH 1/2] Update README.md Added installation instructions for macOS --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ec96e19..de84b53 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,19 @@ tar -xvf azswitch_0.1.4_linux_amd64.tar.gz mv azswitch /usr/local/bin/ ``` +### macOS +```zsh +#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/bin +``` + + ### Windows #### Chocolatey Install using the Chocolatey package manager, will also install the required dependencies: @@ -49,4 +62,4 @@ $env:path = $env:path + ";C:\Temp\azswitch_0.1.4_windows_64-bit" ``` ## Usage -![Demo](docs/demo.gif) \ No newline at end of file +![Demo](docs/demo.gif) From f0e8f913c6d82c8b9c9c773af423e43f8576e186 Mon Sep 17 00:00:00 2001 From: AlexFundell <71392715+AlexFundell@users.noreply.github.com> Date: Tue, 18 Jun 2024 14:43:01 +0200 Subject: [PATCH 2/2] Updated faulty URL and missing header in table of contents --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index de84b53..6debf32 100644 --- a/README.md +++ b/README.md @@ -10,18 +10,20 @@ Switch quicker between Azure subscriptions ## Installation * [Linux](#ubuntu/debian/arch) +* [MacOS](#macos) * [Windows](#windows) * [chocolatey](#chocolatey) * [manual](#manual) + ### Ubuntu/Debian/Arch Copy the binary into your $PATH ```sh # Download the latest release -wget https://github.com/eliasericsson/azswitch/releases/download/v0.1.4/azswitch_0.1.4_linux_amd64.tar.gz +wget https://github.com/eliasericsson/azswitch/releases/download/v0.1.4/azswitch_0.1.4_linux_64-bit.tar.gz # Extract the archive contents -tar -xvf azswitch_0.1.4_linux_amd64.tar.gz +tar -xvf azswitch_0.1.4_linux_64-bit.tar.gz # Move the binary to a directory in your $PATH mv azswitch /usr/local/bin/