Skip to content

Commit

Permalink
document homebrew, remove build from source
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent committed Dec 23, 2020
1 parent ba4369c commit 5204921
Showing 1 changed file with 29 additions and 14 deletions.
43 changes: 29 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,43 @@ The Flow CLI is a command-line interface that provides useful utilities for buil

The Flow CLI can be installed in one of three ways:

### From a pre-built binary
### macOS

#### Linux and macOS
#### Homebrew

_This installation method only works on macOS/x86-64 and Linux/x86-64 architectures._
```sh
brew install flow-cli
```

#### From a pre-built binary

_This installation method only works on x86-64._

This script downloads and installs the appropriate binary for your system:

```sh
sh -ci "$(curl -fsSL https://storage.googleapis.com/flow-cli/install.sh)"
```

To update, simply re-run the installation command above.

### Linux

#### From a pre-built binary

_This installation method only works on x86-64._

This script downloads and installs the appropriate binary for your system:

```sh
sh -ci "$(curl -fsSL https://storage.googleapis.com/flow-cli/install.sh)"
```

#### Windows
To update, simply re-run the installation command above.

### Windows

#### From a pre-built binary

_This installation method only works on Windows 10, 8.1, or 7 (SP1, with [PowerShell 3.0](https://www.microsoft.com/en-ca/download/details.aspx?id=34595)), on x86-64._

Expand All @@ -29,14 +53,5 @@ _This installation method only works on Windows 10, 8.1, or 7 (SP1, with [PowerS
iex "& { $(irm 'https://storage.googleapis.com/flow-cli/install.ps1') }"
```
#### Upgrading an existing installation
Simply re-run the installation commands above.
### From source
To update, simply re-run the installation command above.
_This installation method works on any system with Go >1.13 installed._
```shell script
GO111MODULE=on go get github.com/onflow/flow-cli/cmd/flow
```

0 comments on commit 5204921

Please sign in to comment.