From f814e02bfb7e81644bd535a22def42bcc8020cae Mon Sep 17 00:00:00 2001 From: Cedric Vidal Date: Fri, 6 Oct 2023 18:22:45 +0000 Subject: [PATCH 1/2] Add Apple Silicon instructions to docs --- cli/README.md | 15 +++++++++++++-- docs/getting-started/cli.md | 14 ++++++++++++-- docs/gitops/gitops-quick-start.md | 14 ++++++++++++-- 3 files changed, 37 insertions(+), 6 deletions(-) diff --git a/cli/README.md b/cli/README.md index af75a65f..5ea05013 100644 --- a/cli/README.md +++ b/cli/README.md @@ -51,9 +51,9 @@ To run the binary on Linux, you need to:
-Downloading and installing the CLI on a Mac OS +Downloading and installing the CLI on a Mac OS Intel -To run the binary on a Mac OS, you need to: +To run the binary on a Mac OS Intel, you need to: - Download the latest release: `gh release download --repo microsoft/nubesgen --pattern='nubesgen-cli-macos'` - If on Apple Silicon, install Rosetta if it's not already installed: `/usr/sbin/softwareupdate --install-rosetta --agree-to-license` @@ -61,6 +61,17 @@ To run the binary on a Mac OS, you need to: - Allow Mac OS X to execute it: `xattr -d com.apple.quarantine nubesgen-cli-macos` - Run the binary: `./nubesgen-cli-macos -h` +
+
+Downloading and installing the CLI on a Mac OS Apple Silicon + +To run the binary on a Mac OS Apple Silicon, you need to: + +- Download the latest release: `gh release download --repo microsoft/nubesgen --pattern='nubesgen-cli-macos-arm64'` +- Make the binary executable: `chmod +x nubesgen-cli-macos-arm64` +- Allow Mac OS X to execute it: `xattr -d com.apple.quarantine nubesgen-cli-macos-arm64` +- Run the binary: `./nubesgen-cli-macos-arm64 -h` +
Downloading and installing the CLI on Windows diff --git a/docs/getting-started/cli.md b/docs/getting-started/cli.md index 56652b31..95c3e0f7 100644 --- a/docs/getting-started/cli.md +++ b/docs/getting-started/cli.md @@ -41,9 +41,9 @@ To run the binary on Linux, you need to: - Run the binary: `./nubesgen-cli-linux -h` ::: -::: details Downloading and installing the CLI on a Mac OS +::: details Downloading and installing the CLI on a Mac OS Intel - To run the binary on a Mac OS, you need to: + To run the binary on a Mac OS Intel, you need to: - Download the latest release: `gh release download --repo microsoft/nubesgen --pattern='nubesgen-cli-macos'` - If on Apple Silicon, install Rosetta if it's not already installed: `/usr/sbin/softwareupdate --install-rosetta --agree-to-license` @@ -51,6 +51,16 @@ To run the binary on Linux, you need to: - Allow Mac OS X to execute it: `xattr -d com.apple.quarantine nubesgen-cli-macos` - Run the binary: `./nubesgen-cli-macos -h` +::: +::: details Downloading and installing the CLI on a Mac OS Apple Silicon + + To run the binary on a Mac OS Apple Silicon, you need to: + + - Download the latest release: `gh release download --repo microsoft/nubesgen --pattern='nubesgen-cli-macos-arm64'` + - Make the binary executable: `chmod +x nubesgen-cli-macos-arm64` + - Allow Mac OS X to execute it: `xattr -d com.apple.quarantine nubesgen-cli-macos-arm64` + - Run the binary: `./nubesgen-cli-macos-arm64 -h` + ::: ::: details Downloading and installing the CLI on Windows diff --git a/docs/gitops/gitops-quick-start.md b/docs/gitops/gitops-quick-start.md index 40378e9a..69a9bc14 100644 --- a/docs/gitops/gitops-quick-start.md +++ b/docs/gitops/gitops-quick-start.md @@ -48,9 +48,9 @@ Full documentation for the NubesGen CLI is available [here](/getting-started/cli - Setup GitOps: `./nubesgen-cli-linux gitops` ::: -::: details Installing and running the CLI on a Mac OS +::: details Installing and running the CLI on a Mac OS Intel - To run the binary on a Mac OS, you need to: + To run the binary on a Mac OS Intel, you need to: - Download the latest release: `gh release download --repo microsoft/nubesgen --pattern='nubesgen-cli-macos'` - If on Apple Silicon, install Rosetta if it's not already installed: `/usr/sbin/softwareupdate --install-rosetta --agree-to-license` @@ -58,6 +58,16 @@ Full documentation for the NubesGen CLI is available [here](/getting-started/cli - Allow Mac OS X to execute it: `xattr -d com.apple.quarantine nubesgen-cli-macos` - Setup GitOps: `./nubesgen-cli-macos gitops` +::: +::: details Installing and running the CLI on a Mac OS Apple Silicon + + To run the binary on a Mac OS Apple Silicon, you need to: + + - Download the latest release: `gh release download --repo microsoft/nubesgen --pattern='nubesgen-cli-macos-arm64'` + - Make the binary executable: `chmod +x nubesgen-cli-macos-arm64` + - Allow Mac OS X to execute it: `xattr -d com.apple.quarantine nubesgen-cli-macos-arm64` + - Setup GitOps: `./nubesgen-cli-macos-arm64 gitops` + ::: ::: details Installing and running the CLI on Windows From 20009f71b0f06939b1f3c4515b1bd36ba534a5aa Mon Sep 17 00:00:00 2001 From: Cedric Vidal Date: Fri, 6 Oct 2023 18:40:56 +0000 Subject: [PATCH 2/2] Updated doc about Rosetta --- cli/README.md | 3 ++- docs/getting-started/cli.md | 3 ++- docs/gitops/gitops-quick-start.md | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/cli/README.md b/cli/README.md index 5ea05013..f1ac1d21 100644 --- a/cli/README.md +++ b/cli/README.md @@ -56,11 +56,12 @@ To run the binary on Linux, you need to: To run the binary on a Mac OS Intel, you need to: - Download the latest release: `gh release download --repo microsoft/nubesgen --pattern='nubesgen-cli-macos'` -- If on Apple Silicon, install Rosetta if it's not already installed: `/usr/sbin/softwareupdate --install-rosetta --agree-to-license` - Make the binary executable: `chmod +x nubesgen-cli-macos` - Allow Mac OS X to execute it: `xattr -d com.apple.quarantine nubesgen-cli-macos` - Run the binary: `./nubesgen-cli-macos -h` +**Note**: If on Apple Silicon, you should use the Apple Silicon binary bellow but if you want to use the Intel binary, you need to install Rosetta if it's not already installed: `/usr/sbin/softwareupdate --install-rosetta --agree-to-license` +
Downloading and installing the CLI on a Mac OS Apple Silicon diff --git a/docs/getting-started/cli.md b/docs/getting-started/cli.md index 95c3e0f7..612232bb 100644 --- a/docs/getting-started/cli.md +++ b/docs/getting-started/cli.md @@ -46,11 +46,12 @@ To run the binary on Linux, you need to: To run the binary on a Mac OS Intel, you need to: - Download the latest release: `gh release download --repo microsoft/nubesgen --pattern='nubesgen-cli-macos'` - - If on Apple Silicon, install Rosetta if it's not already installed: `/usr/sbin/softwareupdate --install-rosetta --agree-to-license` - Make the binary executable: `chmod +x nubesgen-cli-macos` - Allow Mac OS X to execute it: `xattr -d com.apple.quarantine nubesgen-cli-macos` - Run the binary: `./nubesgen-cli-macos -h` +**Note**: If on Apple Silicon, you should use the Apple Silicon binary bellow but if you want to use the Intel binary, you need to install Rosetta if it's not already installed: `/usr/sbin/softwareupdate --install-rosetta --agree-to-license` + ::: ::: details Downloading and installing the CLI on a Mac OS Apple Silicon diff --git a/docs/gitops/gitops-quick-start.md b/docs/gitops/gitops-quick-start.md index 69a9bc14..da9a600a 100644 --- a/docs/gitops/gitops-quick-start.md +++ b/docs/gitops/gitops-quick-start.md @@ -53,11 +53,12 @@ Full documentation for the NubesGen CLI is available [here](/getting-started/cli To run the binary on a Mac OS Intel, you need to: - Download the latest release: `gh release download --repo microsoft/nubesgen --pattern='nubesgen-cli-macos'` - - If on Apple Silicon, install Rosetta if it's not already installed: `/usr/sbin/softwareupdate --install-rosetta --agree-to-license` - Make the binary executable: `chmod +x nubesgen-cli-macos` - Allow Mac OS X to execute it: `xattr -d com.apple.quarantine nubesgen-cli-macos` - Setup GitOps: `./nubesgen-cli-macos gitops` +**Note**: If on Apple Silicon, you should use the Apple Silicon binary bellow but if you want to use the Intel binary, you need to install Rosetta if it's not already installed: `/usr/sbin/softwareupdate --install-rosetta --agree-to-license` + ::: ::: details Installing and running the CLI on a Mac OS Apple Silicon