diff --git a/cli/README.md b/cli/README.md index af75a65f..f1ac1d21 100644 --- a/cli/README.md +++ b/cli/README.md @@ -51,16 +51,28 @@ 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` - 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 + +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..612232bb 100644 --- a/docs/getting-started/cli.md +++ b/docs/getting-started/cli.md @@ -41,16 +41,27 @@ 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` - 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 + + 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..da9a600a 100644 --- a/docs/gitops/gitops-quick-start.md +++ b/docs/gitops/gitops-quick-start.md @@ -48,16 +48,27 @@ 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` - 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 + + 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