Installing

Matt edited this page Oct 15, 2017 · 5 revisions

There are several methods for installing cheat on your system.

pip

pip is the recommended installation method for most users. Simply run:

[sudo] pip install cheat

it is also possible to install cheat as user only by running

pip install --user cheat

then you have extend your PATH to include $HOME/.local/bin:

export PATH="$HOME/.local/bin:$PATH"

This line can be added to your bashrc/zshrc.

homebrew

To install cheat using homebrew, run:

brew install cheat

Nix/NixOS

To install cheat using Nix, run:

nix-env -i cheat

manually

First, install the dependencies:

[sudo] pip install docopt pygments appdirs

Then clone this repository:

git clone git@github.com:chrisallenlane/cheat.git

Lastly, cd into the cloned directory, then run:

[sudo] python setup.py install
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.