Update README.md
Add Homebrew option for imagemagick and add syntax highlighting
This commit is contained in:
parent
701237fc5e
commit
6a7354b8fd
1 changed files with 9 additions and 9 deletions
10
README.md
10
README.md
|
@ -25,24 +25,24 @@ See the difference by disabling this optimization using the `-0` option. Or just
|
|||
## Installation
|
||||
|
||||
### Build from source
|
||||
|
||||
sudo apt install imagemagick || yum install ImageMagick
|
||||
```sh
|
||||
brew install imagemagick || yum install ImageMagick || sudo apt install imagemagick
|
||||
git clone https://github.com/stefanhaustein/TerminalImageViewer.git
|
||||
cd TerminalImageViewer/src/main/cpp
|
||||
make
|
||||
sudo make install
|
||||
|
||||
```
|
||||
### Homebrew
|
||||
|
||||
Option 1:
|
||||
|
||||
```
|
||||
```sh
|
||||
brew install tiv
|
||||
```
|
||||
|
||||
Option 2 (deprecated, for macOS Mojave and below):
|
||||
|
||||
```
|
||||
```sh
|
||||
brew tap stefanhaustein/TerminalImageViewer https://github.com/stefanhaustein/TerminalImageViewer
|
||||
brew install terminalimageviewer
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue