Update README.md

This commit is contained in:
Aaron Liu 2021-05-19 09:29:33 +08:00 committed by Stefan Haustein
parent 397a7f2e2c
commit 82d5d1c733

View file

@ -29,16 +29,19 @@ See the difference by disabling this optimization using the `-0` option. Or just
### Homebrew ### Homebrew
Option 1: Option 1:
brew tap stefanhaustein/TerminalImageViewer https://github.com/stefanhaustein/TerminalImageViewer ```
brew install tiv brew tap stefanhaustein/TerminalImageViewer https://github.com/stefanhaustein/TerminalImageViewer
brew install tiv
Option 2(deprecated as homebrew doesn't support macOS other than the last two): ```
brew tap stefanhaustein/TerminalImageViewer https://github.com/stefanhaustein/TerminalImageViewer Option 2(deprecated, for macOS Mojave and below):
brew install terminalimageviewer ```
brew tap stefanhaustein/TerminalImageViewer https://github.com/stefanhaustein/TerminalImageViewer
Option 2(deprecated): brew install terminalimageviewer
brew install https://raw.githubusercontent.com/stefanhaustein/TerminalImageViewer/master/terminalimageviewer.rb ```
Option 3(deprecated):
```
brew install https://raw.githubusercontent.com/stefanhaustein/TerminalImageViewer/master/terminalimageviewer.rb
```
### Build from source ### Build from source
sudo apt install imagemagick || yum install ImageMagick sudo apt install imagemagick || yum install ImageMagick
@ -47,8 +50,6 @@ Option 2(deprecated):
make make
sudo make install sudo make install
Note: On MacOS, you'll need to install GCC because of this issue: https://stackoverflow.com/q/42633477. Find some more details here: https://github.com/stefanhaustein/TerminalImageViewer/issues/36
## Usage ## Usage
tiv [options] <filename(s)> tiv [options] <filename(s)>