Linux_cheat命令安装和使用

1、安装python
yum -y install python
 
2、安装epel源、安装pip
yum install epel-release -y 
yum install python-pip -y 
 
3、安装git
yum -y install git
 
4、安装Python依赖的文件
pip install docopt pygments
 
5、从github克隆项目到本地
cd /usr/local/src
git clone https://github.com/chrisallenlane/cheat.git
 
6、切换到cheat目录,安装cheat
cd cheat
python setup.py install
 
7、查看版本号
cheat -v
8、查看所有可用的cheat命令
cheat -l
9、使用cheat
cheat tar
原文地址:https://www.cnblogs.com/sunshineyang/p/6060953.html