Skip to content

Commit

Permalink
Add Homebrew installation
Browse files Browse the repository at this point in the history
  • Loading branch information
thash committed Jan 27, 2025
1 parent ae3d067 commit e3f304c
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,12 @@ With zygen, you can:
1. [Equivalent curl](#equivalent-curl)
4. [zg update](#zg-update)
4. [Installation](#installation)
1. [Download binary](#download-binary)
2. [Install from source](#install-from-source)
3. [Homebrew (MacOS) (Not available yet)](#homebrew-macos-not-available-yet)
1. [Homebrew (MacOS/Linux)](#homebrew-macoslinux)
2. [Download binary](#download-binary)
3. [Install from source](#install-from-source)
5. [Examples](#examples)
6. [Misc](#misc)
1. [What zygen is not for](#what-zygen-is-not-for)
2. [Disclaimer](#disclaimer)

<!-- vscode-markdown-toc-config
numbering=false
Expand Down Expand Up @@ -302,7 +301,15 @@ Dependencies:
- zygen relies on `gcloud` for [generating access token](https://cloud.google.com/sdk/gcloud/reference/auth/print-access-token) and [retrieving project id from its config](https://cloud.google.com/sdk/gcloud/reference/config/get).
- Make sure you have installed and initialize the `gcloud` command in your `$PATH`.

## <a name='DownloadBinary'></a>Download binary

## <a name='HomebrewMacOSLinux'></a>Homebrew (MacOS/Linux)

```
$ brew install thash/tap/zygen
```


## <a name='Downloadbinary'></a>Download binary

Find [the latest release](https://github.com/thash/zygen/releases/latest) and download the binary for your platform. Extract the archive and make the binary executable:

Expand All @@ -328,11 +335,6 @@ $ ./target/release/zg
```


## <a name='HomebrewMacOS'></a>Homebrew (MacOS) (Not available yet)

Not available yet.


# Examples

Random examples to show how zygen helps you to explorer Google Cloud APIs.
Expand Down

0 comments on commit e3f304c

Please sign in to comment.