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
18
README.md
18
README.md
|
@ -25,24 +25,24 @@ See the difference by disabling this optimization using the `-0` option. Or just
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
### Build from source
|
### Build from source
|
||||||
|
```sh
|
||||||
sudo apt install imagemagick || yum install ImageMagick
|
brew install imagemagick || yum install ImageMagick || sudo apt install imagemagick
|
||||||
git clone https://github.com/stefanhaustein/TerminalImageViewer.git
|
git clone https://github.com/stefanhaustein/TerminalImageViewer.git
|
||||||
cd TerminalImageViewer/src/main/cpp
|
cd TerminalImageViewer/src/main/cpp
|
||||||
make
|
make
|
||||||
sudo make install
|
sudo make install
|
||||||
|
```
|
||||||
### Homebrew
|
### Homebrew
|
||||||
|
|
||||||
Option 1:
|
Option 1:
|
||||||
|
|
||||||
```
|
```sh
|
||||||
brew install tiv
|
brew install tiv
|
||||||
```
|
```
|
||||||
|
|
||||||
Option 2 (deprecated, for macOS Mojave and below):
|
Option 2 (deprecated, for macOS Mojave and below):
|
||||||
|
|
||||||
```
|
```sh
|
||||||
brew tap stefanhaustein/TerminalImageViewer https://github.com/stefanhaustein/TerminalImageViewer
|
brew tap stefanhaustein/TerminalImageViewer https://github.com/stefanhaustein/TerminalImageViewer
|
||||||
brew install terminalimageviewer
|
brew install terminalimageviewer
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue