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
1 changed files with 15 additions and 3 deletions

View File

@ -4,14 +4,26 @@ A command line program with shortcuts for managing hosts file entries.
## Installation
To get started, add the `hosts` script to your path.
### Homebrew
To install with homebrew, use the following command:
To install with [Homebrew](http://brew.sh/):
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: