sudo apt-get install nodejs
sudo apt-get install npm
sudo npm install -g tldr
tldr --update 更新
tldr后面直接跟上要查询的命令,
tldr ls
更多安装方式
tldr安装
tldr有很多种语言版本,安装也很简单,各种包管理工具都支持。
安装方式如下
C++ client
$ brew install tldr-pages/tldr/tldr
Crystal client
$ brew install porras/tap/tlcr
Go client
$ go get github.com/pranavraja/tldr (or platform binaries)
Node.js client
$ npm install -g tldr
Perl5 client
$ cpanm App::tldr
Python clients
tldr-python-client
$ pip install tldr
tldr.py
$ pip install tldr.py
Ruby client
$ gem install tldrb
Bash client
https://github.com/raylee/tldr
Web client
https://ostera.github.io/tldr.jsx
Android clients
tldr-viewer, available on Google Play
https://github.com/gianasista/tldr-viewer
https://play.google.com/store/apps/details?id=de.gianasista.tldr_viewer
tldroid, available on Google Play
https://github.com/hidroh/tldroid
https://play.google.com/store/apps/details?id=io.github.hidroh.tldroid
iOS clients
tldr-man-page, available on App Store
https://github.com/freesuraj/TLDR
https://itunes.apple.com/sg/app/tldr-man-page/id1073433250?mt=8
tldr-pages, available on App Store
https://github.com/mflint/ios-tldr-viewer
https://itunes.apple.com/us/app/tldt-pages/id1071725095?ls=1&mt=8
更多客户端可参考: https://github.com/tldr-pages/tldr