docs: add homebrew installation note

Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
Rui Chen 2022-07-13 22:21:39 -04:00
parent 223f0c5d13
commit 80977e2f1d
No known key found for this signature in database
GPG key ID: F3E81483BC52ACCA

View file

@ -57,9 +57,9 @@ The command-line interface is straightforward as reflected in the output from
'tio --help': 'tio --help':
``` ```
Usage: tio [<options>] <tty-device|sub-config> Usage: tio [<options>] <tty-device|sub-config>
Connect to tty device directly or via sub-configuration. Connect to tty device directly or via sub-configuration.
Options: Options:
-b, --baudrate <bps> Baud rate (default: 115200) -b, --baudrate <bps> Baud rate (default: 115200)
-d, --databits 5|6|7|8 Data bits (default: 8) -d, --databits 5|6|7|8 Data bits (default: 8)
@ -83,11 +83,11 @@ The command-line interface is straightforward as reflected in the output from
-x, --hexadecimal Enable hexadecimal mode -x, --hexadecimal Enable hexadecimal mode
-v, --version Display version -v, --version Display version
-h, --help Display help -h, --help Display help
Options and sub-configurations may be set via configuration file. Options and sub-configurations may be set via configuration file.
In session, press ctrl-t q to quit. In session, press ctrl-t q to quit.
See the man page for more details. See the man page for more details.
``` ```
@ -212,7 +212,18 @@ Install bleeding edge:
$ snap install tio --edge $ snap install tio --edge
``` ```
### 4.3 Installation from source ### 4.3 Installation use brew
If you have [brew](http://brew.sh/) installed, you can also install the latest stable version as:
```
$ brew install tio
```
or installing bleeding edge as:
```
$ brew install tio --HEAD
```
### 4.4 Installation from source
The latest source releases can be found [here](https://github.com/tio/tio/releases). The latest source releases can be found [here](https://github.com/tio/tio/releases).