1
0
mirror of https://github.com/octoleo/hosts.git synced 2024-11-26 14:56:40 +00:00

Add expanded installtion instructions to Readme

Include command for manual and bpkg installation methods.
This commit is contained in:
William Melody 2015-05-20 16:44:24 -07:00
parent 371b644f6f
commit db2b5ad074

View File

@ -4,14 +4,26 @@ A command line program with shortcuts for managing hosts file entries.
## Installation ## Installation
To get started, add the `hosts` script to your path.
### Homebrew ### Homebrew
To install with homebrew, use the following command: To install with [Homebrew](http://brew.sh/):
brew install alphabetum/taps/hosts brew install alphabetum/taps/hosts
### bpkg
To install with [bpkg](http://www.bpkg.io/):
bpkg install alphabetum/hosts
### Manual
To install manually, simply add the `hosts` script to your `$PATH`. If
you already have a `~/bin` directory, you can use the following command:
curl -L https://raw.github.com/alphabetum/hosts/master/hosts \
-o ~/bin/hosts && chmod +x ~/bin/hosts
## Usage ## Usage
Usage: Usage: