Skip to content
This repository was archived by the owner on Jan 31, 2025. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,28 @@ To run the binary on Linux, you need to:

</details>
<details>
<summary>Downloading and installing the CLI on a Mac OS</summary>
<summary>Downloading and installing the CLI on a Mac OS Intel</summary>

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>
<details>
<summary>Downloading and installing the CLI on a Mac OS Apple Silicon</summary>

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>
<details>
<summary>Downloading and installing the CLI on Windows</summary>
Expand Down
17 changes: 14 additions & 3 deletions docs/getting-started/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
17 changes: 14 additions & 3 deletions docs/gitops/gitops-quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down