Skip to content

Commit 5204921

Browse files
committed
document homebrew, remove build from source
1 parent ba4369c commit 5204921

1 file changed

Lines changed: 29 additions & 14 deletions

File tree

README.md

Lines changed: 29 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,43 @@ The Flow CLI is a command-line interface that provides useful utilities for buil
66

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

9-
### From a pre-built binary
9+
### macOS
1010

11-
#### Linux and macOS
11+
#### Homebrew
1212

13-
_This installation method only works on macOS/x86-64 and Linux/x86-64 architectures._
13+
```sh
14+
brew install flow-cli
15+
```
16+
17+
#### From a pre-built binary
18+
19+
_This installation method only works on x86-64._
20+
21+
This script downloads and installs the appropriate binary for your system:
22+
23+
```sh
24+
sh -ci "$(curl -fsSL https://storage.googleapis.com/flow-cli/install.sh)"
25+
```
26+
27+
To update, simply re-run the installation command above.
28+
29+
### Linux
30+
31+
#### From a pre-built binary
32+
33+
_This installation method only works on x86-64._
1434

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

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

21-
#### Windows
41+
To update, simply re-run the installation command above.
42+
43+
### Windows
44+
45+
#### From a pre-built binary
2246

2347
_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._
2448

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

0 commit comments

Comments
 (0)