> CentOS > CentOS教程 >

centos6.6安装cheat

git clone https://github.com/chrisallenlane/cheat.git
cd cheat
sudo python setup.py install

git clone https://github.com/pypa/pip.git
cd pip
sudo yum install python-setuptools
sudo python setup.py install

sudo pip install docopt pygments

#.bashrs
#export EDITOR = /usr/bin/nano
export CHEATCOLORS=true

wget https://github.com/chrisallenlane/cheat/raw/master/cheat/autocompletion/cheat.bash
sudo mv cheat.bash /etc/bash_completion.d/

 

 

cheat -v

cheat ls



(责任编辑:IT)