add installation via Homebrew

This commit is contained in:
Xu Cheng 2016-06-03 16:25:28 +08:00
parent 912a519ea8
commit 89e52124b1
No known key found for this signature in database
GPG Key ID: C2A3860FA0B459CE

View File

@ -55,17 +55,21 @@ The official release of `you-get` is distributed on [PyPI](https://pypi.python.o
$ pip3 install you-get $ pip3 install you-get
### Option 2: Install via [Antigen](https://github.com/zsh-users/antigen) ### Option 2: Install via [Homebrew](http://brew.sh)
$ brew install you-get
### Option 3: Install via [Antigen](https://github.com/zsh-users/antigen)
Add the following line to your `.zshrc`: Add the following line to your `.zshrc`:
antigen bundle soimort/you-get antigen bundle soimort/you-get
### Option 3: Use a pre-built package (Windows only) ### Option 4: Use a pre-built package (Windows only)
Download the `exe` (standalone) or `7z` (all dependencies included) from: <https://github.com/soimort/you-get/releases/latest>. Download the `exe` (standalone) or `7z` (all dependencies included) from: <https://github.com/soimort/you-get/releases/latest>.
### Option 4: Download from GitHub ### Option 5: Download from GitHub
You may either download the [stable](https://github.com/soimort/you-get/archive/master.zip) (identical with the latest release on PyPI) or the [develop](https://github.com/soimort/you-get/archive/develop.zip) (more hotfixes, unstable features) branch of `you-get`. Unzip it, and put the directory containing the `you-get` script into your `PATH`. You may either download the [stable](https://github.com/soimort/you-get/archive/master.zip) (identical with the latest release on PyPI) or the [develop](https://github.com/soimort/you-get/archive/develop.zip) (more hotfixes, unstable features) branch of `you-get`. Unzip it, and put the directory containing the `you-get` script into your `PATH`.
@ -83,7 +87,7 @@ $ python3 setup.py install --user
to install `you-get` to a permanent path. to install `you-get` to a permanent path.
### Option 5: Git clone ### Option 6: Git clone
This is the recommended way for all developers, even if you don't often code in Python. This is the recommended way for all developers, even if you don't often code in Python.