Skip to content

Commit

Permalink
Update install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
rjuer committed Sep 14, 2024
1 parent 3cf50d5 commit 14772a6
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,18 @@ CLI application for basic operations with CIDR blocks based on https://github.co

## Installation

The easiest way to install `cidr` is via `go install`:

```shell
go install github.com/rjuer/cidr@latest
```

Your may also download the appropriate release for your platform from the
Download the latest release for your platform from the
[releases page](https://github.com/rjuer/cidr/releases). Binaries are currently
available for all combinations of `[linux, darwin]` and `[amd64, arm64]`.
For `darwin` and `arm64` this is:
```sh
wget https://github.com/rjuer/cidr/releases/latest/download/cidr-darwin-arm64 -O $HOME/bin/cidr && chmod +x $HOME/bin/cidr
```

You can download a specific version as well:
```sh
wget https://github.com/rjuer/cidr/releases/download/v0.2.3/cidr-darwin-arm64 -O $HOME/bin/cidr && chmod +x $HOME/bin/cidr
```

## Usage

Expand Down

0 comments on commit 14772a6

Please sign in to comment.