diff --git a/Makefile b/Makefile index a537b05..4f4f066 100644 --- a/Makefile +++ b/Makefile @@ -34,3 +34,9 @@ snap/deploy: snap/remove: snap remove cointop + +brew/remove: + brew uninstall cointop + +brew/build: brew/remove + brew install --build-from-source cointop.rb diff --git a/README.md b/README.md index ee965a1..19deab2 100644 --- a/README.md +++ b/README.md @@ -50,11 +50,16 @@ Make sure to have [go](https://golang.org/) (1.9+) installed, then do: go get -u github.com/miguelmota/cointop ``` -### Windows WSL +### Homebrew (macOS) -You'll need additional font support for Windows WSL. Please see the [wiki](https://github.com/miguelmota/cointop/wiki/Windows-Command-Prompt-and-WSL-Font-Support) for instructions. +cointop is available via [Homebrew](https://brew.sh/) for macOS: -### Snap +```bash +brew tap cointop/cointop https://github.com/miguelmota/cointop +brew install cointop +``` + +### Snap (Linux) cointop is also available as a [snap](https://snapcraft.io/cointop) for Linux users. @@ -70,6 +75,10 @@ sudo snap run cointop Note: snaps don't work in Windows WSL. See this [issue thread](https://forum.snapcraft.io/t/windows-subsystem-for-linux/216). +### Windows WSL (Windows) + +You'll need additional font support for Windows WSL. Please see the [wiki](https://github.com/miguelmota/cointop/wiki/Windows-Command-Prompt-and-WSL-Font-Support) for instructions. + ## Updating To update make sure to use the `-u` flag. @@ -78,7 +87,7 @@ To update make sure to use the `-u` flag. go get -u github.com/miguelmota/cointop ``` -### snap +### Snap Use the `refresh` command to update snap. @@ -86,6 +95,12 @@ Use the `refresh` command to update snap. sudo snap refresh cointop --stable ``` +### Homebrew + +```bash +brew uninstall cointop && brew install cointop +``` +