MozPhab can be installed from PyPI.
This requires Git and Python 3.6 or higher with pip3
.
Verify that pip3 and git are installed and working when run from the command line:
$ git --version
git version 2.20.1
$ pip3 --version
pip 18.1 from /usr/lib/python3/dist-packages/pip (python 3.7)
The versions you have do not need match the above.
If either are missing use your distro's package manager to install. For example if you use Ubuntu:
$ sudo apt-get install git python3-pip
Call
pip3 install --user MozPhab
This will install
moz-phab
into your home directory, under~/.local/bin
.If
moz-phab
has not been found, add your~/.local/bin
directory to thePATH
variable. Running this command in terminal will change thePATH
for current session. Add it to your profile file (~/.bashrc
or equivalent) to keep the$PATH
changed
$ export PATH=~/.local/bin:$PATH
- Ensure running
moz-phab
works:
$ moz-phab -h