1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
# Installation
## Stable release
To install `glean_parser`, run this command in your terminal:
```sh
$ pip install glean_parser
```
This is the preferred method to install `glean_parser`, as it will always
install the most recent stable release.
If you don't have [pip](https://pip.pypa.io) installed, this [Python
installation
guide](http://docs.python-guide.org/en/latest/starting/installation/)
can guide you through the process.
## From sources
The sources for `glean_parser` can be downloaded from the [Github
repo](https://github.com/mozilla/glean_parser).
You can either clone the public repository:
```sh
$ git clone https://github.com/mozilla/glean_parser.git
```
Or download the
[tarball](https://github.com/mozilla/glean_parser/tarball/HEAD):
```sh
$ curl -OL https://github.com/mozilla/glean_parser/tarball/HEAD
```
Once you have a copy of the source, you can install it with:
```sh
$ pip install .
```
|