Skip to content

Commit 1e0b8db

Browse files
authored
Merge pull request #40 from Automattic/update/readme-install
README: Update install instructions to use official releases
2 parents b7a3be7 + 59b2c81 commit 1e0b8db

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,21 @@ otherwise complex issues.
2828

2929
## Installation
3030

31-
This package requires [Go](https://golang.org/). An easy way to install Go on a Mac is with [Homebrew](https://medium.com/@jimkang/install-go-on-mac-with-homebrew-5fa421fc55f5).
31+
### From Official Releases
32+
33+
To install on macOS:
34+
35+
```
36+
wget https://github.com/Automattic/go-search-replace/releases/latest/download/go-search-replace_darwin_arm64.gz
37+
gunzip go-search-replace_darwin_arm64.gz
38+
chmod +x go-search-replace_darwin_arm64
39+
mv go-search-replace_darwin_arm64 /usr/local/bin/go-search-replace
40+
go-search-replace --version
41+
```
42+
43+
### From Source
44+
45+
To install from source, this package requires [Go](https://golang.org/).
3246

3347
Note the changes you need to make to your PATH and that you have to either restart your terminal or `source` your shell rc file.
3448

0 commit comments

Comments
 (0)