https://github.com/mrvi0/cli-cheatsheet
π Interactive CLI cheat sheet utility with multi-language support. Quick command reference for bash, git, docker, vim, systemctl, tmux, htop, curl, ssh, find, tar, awk and more. Features search, colorized output, and easy language switching.
https://github.com/mrvi0/cli-cheatsheet
bash cheat-sheet cli colorized-output command-line docker documentation git interactive linux multi-language reference search shell ssh systemctl terminal tmux utilities vim
Last synced: about 2 months ago
JSON representation
π Interactive CLI cheat sheet utility with multi-language support. Quick command reference for bash, git, docker, vim, systemctl, tmux, htop, curl, ssh, find, tar, awk and more. Features search, colorized output, and easy language switching.
- Host: GitHub
- URL: https://github.com/mrvi0/cli-cheatsheet
- Owner: mrvi0
- License: mit
- Created: 2025-07-05T13:11:30.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-08-18T11:42:00.000Z (10 months ago)
- Last Synced: 2025-08-18T13:27:18.639Z (10 months ago)
- Topics: bash, cheat-sheet, cli, colorized-output, command-line, docker, documentation, git, interactive, linux, multi-language, reference, search, shell, ssh, systemctl, terminal, tmux, utilities, vim
- Language: Shell
- Homepage:
- Size: 390 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 60
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# cli-cheatsheet
[](#contributors-)
[](https://opensource.org/licenses/MIT)
[](https://www.gnu.org/software/bash/)
[](https://en.wikipedia.org/wiki/Unix-like)
An interactive terminal utility for quick command reference.
π Choose your language / ΠΡΠ±Π΅ΡΠΈΡΠ΅ ΡΠ·ΡΠΊ
| Language | Documentation |
|----------|---------------|
| πΊπΈ English | [README.md](README.md) (current) |
| π·πΊ Π ΡΡΡΠΊΠΈΠΉ | [docs/ru/README.md](docs/ru/README.md) |
## π Idea
Call `cheat ` to display a concise and useful cheat sheet for commands (bash, git, docker, vim, systemctl, etc.).
## β¨ Features
- `cheat ` β shows a text cheat sheet by key
- **Comprehensive topic support**: `cheat git`, `cheat bash`, `cheat docker`, `cheat systemctl`, `cheat tmux`, `cheat htop`, `cheat curl`, `cheat ssh`, `cheat find`
- **Colorful output** (headers, commands, descriptions)
- **Autocompletion or list all topics**: `cheat list`
- **Advanced search functionality**: `cheat search ` with grouped results by topic
- **Multi-language support** (en/ru) with JSON-based translations
- **Theme support** (light/dark)
- **Language switching**: `cheat lang `
- **Template-based system** with placeholder substitution
- **Optimized performance** with efficient translation lookup
## π Cheat Sheets Status
### π§ System Utilities
| Utility | πΊπΈ English | π·πΊ Π ΡΡΡΠΊΠΈΠΉ | π©πͺ Deutsch | π«π· FranΓ§ais | πͺπΈ EspaΓ±ol |
|---------|-------------|-------------|-------------|--------------|-------------|
| bash | β
| β
| β | β | β |
| systemctl | β
| β
| β | β | β |
| cron | β
| β
| β | β | β |
| htop | β
| β
| β | β | β |
| tmux | β
| β
| β | β | β |
| ps | β
| β
| β | β | β |
| kill | β
| β
| β | β | β |
| top | β
| β
| β | β | β |
| iotop | π | π | β | β | β |
| useradd | π | π | β | β | β |
| sudo | π | π | β | β | β |
| mount | π | π | β | β | β |
### π Network Utilities
| Utility | πΊπΈ English | π·πΊ Π ΡΡΡΠΊΠΈΠΉ | π©πͺ Deutsch | π«π· FranΓ§ais | πͺπΈ EspaΓ±ol |
|---------|-------------|-------------|-------------|--------------|-------------|
| curl | β
| β
| β | β | β |
| ssh | β
| β
| β | β | β |
| netstat | β
| β
| β | β | β |
| nmap | β
| β
| β | β | β |
| lsof | β
| β
| β | β | β |
| ping | π | π | β | β | β |
| traceroute | π | π | β | β | β |
| dig | π | π | β | β | β |
| wget | π | π | β | β | β |
| rsync | π | π | β | β | β |
| nc | π | π | β | β | β |
| iftop | π | π | β | β | β |
### π‘οΈ Security & Firewalls
| Utility | πΊπΈ English | π·πΊ Π ΡΡΡΠΊΠΈΠΉ | π©πͺ Deutsch | π«π· FranΓ§ais | πͺπΈ EspaΓ±ol |
|---------|-------------|-------------|-------------|--------------|-------------|
| ufw | β
| β
| β | β | β |
| iptables | β
| β
| β | β | β |
| fail2ban | π | π | β | β | β |
| openssl | π | π | β | β | β |
| gpg | π | π | β | β | β |
| ssh-keygen | π | π | β | β | β |
### π Text Processing
| Utility | πΊπΈ English | π·πΊ Π ΡΡΡΠΊΠΈΠΉ | π©πͺ Deutsch | π«π· FranΓ§ais | πͺπΈ EspaΓ±ol |
|---------|-------------|-------------|-------------|--------------|-------------|
| vim | β
| β
| β | β | β |
| sed | β
| β
| β | β | β |
| awk | β
| β
| β | β | β |
| grep | π | π | β | β | β |
| cut | π | π | β | β | β |
| sort | π | π | β | β | β |
| wc | π | π | β | β | β |
| jq | π | π | β | β | β |
| nano | π | π | β | β | β |
### π File System & Search
| Utility | πΊπΈ English | π·πΊ Π ΡΡΡΠΊΠΈΠΉ | π©πͺ Deutsch | π«π· FranΓ§ais | πͺπΈ EspaΓ±ol |
|---------|-------------|-------------|-------------|--------------|-------------|
| find | β
| β
| β | β | β |
| ls | π | π | β | β | β |
| cp | π | π | β | β | β |
| chmod | π | π | β | β | β |
| du | π | π | β | β | β |
| locate | π | π | β | β | β |
| ripgrep | π | π | β | β | β |
### π¦ Archiving & Compression
| Utility | πΊπΈ English | π·πΊ Π ΡΡΡΠΊΠΈΠΉ | π©πͺ Deutsch | π«π· FranΓ§ais | πͺπΈ EspaΓ±ol |
|---------|-------------|-------------|-------------|--------------|-------------|
| tar | β
| β
| β | β | β |
| zip | π | π | β | β | β |
| gzip | π | π | β | β | β |
| bzip2 | π | π | β | β | β |
| xz | π | π | β | β | β |
| zstd | π | π | β | β | β |
### π³ Containerization
| Utility | πΊπΈ English | π·πΊ Π ΡΡΡΠΊΠΈΠΉ | π©πͺ Deutsch | π«π· FranΓ§ais | πͺπΈ EspaΓ±ol |
|---------|-------------|-------------|-------------|--------------|-------------|
| docker | β
| β
| β | β | β |
| docker-compose | π | π | β | β | β |
| kubectl | π | π | β | β | β |
| podman | π | π | β | β | β |
### π§ Development Tools
| Utility | πΊπΈ English | π·πΊ Π ΡΡΡΠΊΠΈΠΉ | π©πͺ Deutsch | π«π· FranΓ§ais | πͺπΈ EspaΓ±ol |
|---------|-------------|-------------|-------------|--------------|-------------|
| git | β
| β
| β | β | β |
| make | π | π | β | β | β |
| cmake | π | π | β | β | β |
| gcc | π | π | β | β | β |
| gdb | π | π | β | β | β |
| valgrind | π | π | β | β | β |
### π¦ Package Management
| Utility | πΊπΈ English | π·πΊ Π ΡΡΡΠΊΠΈΠΉ | π©πͺ Deutsch | π«π· FranΓ§ais | πͺπΈ EspaΓ±ol |
|---------|-------------|-------------|-------------|--------------|-------------|
| package-managers | β
| β
| β | β | β |
| apt | β
| β
| β | β | β |
| yum | π | π | β | β | β |
| dnf | π | π | β | β | β |
| pacman | π | π | β | β | β |
| snap | π | π | β | β | β |
| flatpak | π | π | β | β | β |
**Legend:**
- β
Available - Complete cheat sheet with translations
- β Not available - Cheat sheet or translations missing
- π In progress - Currently being developed
## π Project Structure
```
cli-cheatsheet/
βββ cheat.sh # Main script
βββ config.json # Configuration
βββ localizations/ # Translation files by language
β βββ en/ # English translations
β β βββ bash.json # Bash translations
β β βββ git.json # Git translations
β β βββ docker.json # Docker translations
β β βββ vim.json # Vim translations
β β βββ systemctl.json # Systemctl translations
β β βββ tmux.json # Tmux translations
β β βββ htop.json # Htop translations
β β βββ curl.json # Curl translations
β β βββ ssh.json # SSH translations
β β βββ find.json # Find translations
β β βββ tar.json # Tar translations
β β βββ awk.json # AWK translations
β βββ ru/ # Russian translations
β βββ bash.json # Bash translations
β βββ git.json # Git translations
β βββ docker.json # Docker translations
β βββ vim.json # Vim translations
β βββ systemctl.json # Systemctl translations
β βββ tmux.json # Tmux translations
β βββ htop.json # Htop translations
β βββ curl.json # Curl translations
β βββ ssh.json # SSH translations
β βββ find.json # Find translations
β βββ tar.json # Tar translations
β βββ awk.json # AWK translations
β βββ ps.json # PS translations
β βββ kill.json # KILL translations
β βββ apt.json # APT translations
β βββ top.json # TOP translations
βββ templates/ # Cheat sheet templates
β βββ bash.txt # Bash template
β βββ git.txt # Git template
β βββ docker.txt # Docker template
β βββ vim.txt # Vim template
β βββ systemctl.txt # Systemctl template
β βββ tmux.txt # Tmux template
β βββ htop.txt # Htop template
β βββ curl.txt # Curl template
β βββ ssh.txt # SSH template
β βββ find.txt # Find template
β βββ tar.txt # Tar template
β βββ awk.txt # AWK template
β βββ ps.txt # PS template
β βββ kill.txt # KILL template
β βββ apt.txt # APT template
β βββ top.txt # TOP template
βββ docs/ # Documentation
βββ ru/ # Russian documentation
βββ README.md # Russian README
```
## π οΈ Installation
### Quick Install (Recommended)
```bash
git clone https://github.com/mrvi0/cli-cheatsheet.git
cd cli-cheatsheet
sudo ln -s "$(pwd)/cheat.sh" /usr/local/bin/cheat
```
**After installation, you can use `cheat` command from anywhere in your system!**
### Manual Install
```bash
git clone https://github.com/mrvi0/cli-cheatsheet.git
cd cli-cheatsheet
chmod +x cheat.sh
./cheat.sh
```
## πΈ Screenshots
Help command output and usage instructions
Git cheat sheet with language switching example
Available topics and utilities list
Advanced search across all cheat sheets
## π Usage Examples
### Show cheat sheet
```bash
$ cheat git
# Git Cheat Sheet
$ git status
> Show the working tree status
$ git add .
> Add all changes to staging
$ git commit -m "message"
> Commit changes with a message
$ git log
> Show commit logs
```
### List all topics
```bash
$ cheat list
Available topics:
- awk
- bash
- cron
- curl
- docker
- find
- git
- htop
- kill
- ps
- sed
- apt
- top
- ssh
- systemctl
- tar
- tmux
- vim
```
### Search in cheat sheets
```bash
$ cheat search commit
Searching for: commit
---
git:
$ git commit -m "message"
> Commit changes with a message
$ cheat search find
Searching for: find
---
find:
$ find . -name "filename"
> Find files by exact name
$ find . -type f -name "*.txt"
> Find text files
```
### Change language
```bash
$ cheat lang ru
Language changed to: ru
$ cheat git
# Git Π¨ΠΏΠ°ΡΠ³Π°Π»ΠΊΠ°
$ git status
> ΠΠΎΠΊΠ°Π·Π°ΡΡ ΡΡΠ°ΡΡΡ ΡΠ°Π±ΠΎΡΠ΅ΠΉ Π΄ΠΈΡΠ΅ΠΊΡΠΎΡΠΈΠΈ
```
### Update utility
```bash
$ cheat update
Updating cli-cheatsheet...
Current branch: main
Fetching latest changes...
Found 3 new commit(s)
Pulling latest changes...
Successfully updated cli-cheatsheet!
```
### Get help
```bash
$ cheat help
cli-cheatsheet - Interactive terminal utility
Usage:
cheat Show cheat sheet for topic
cheat list List all available topics
cheat search Search in all cheat sheets
cheat lang Change language (en/ru)
cheat update Update to latest version
cheat help Show this help
Examples:
cheat git Show git cheat sheet
cheat bash Show bash cheat sheet
cheat kill Show kill cheat sheet
cheat ps Show ps cheat sheet
cheat apt Show apt cheat sheet
cheat top Show top cheat sheet
cheat search commit Search for 'commit' in all sheets
cheat lang ru Change language to Russian
cheat lang en Change language to English
cheat update Update to latest version
```
## π Language Support
### Change Language via CLI
```bash
cheat lang ru # Switch to Russian
cheat lang en # Switch to English
```
### Change Language via Config
Edit `config.json`:
```json
{
"lang": "ru",
"theme": "dark"
}
```
### Add New Language
1. Create directory: `localizations/your_lang/`
2. Create translation files for each utility: `localizations/your_lang/utility.json`
3. Add translations with keys matching templates
4. Use `cheat lang your_lang` to switch
## π¨ Color Scheme
- **Headers** (`#`) - Cyan bold
- **Commands** (`$`) - Green
- **Descriptions** (`>`) - Yellow
- **Errors** - Red
- **Search results** - Magenta
## π Adding New Topics
Create a new file `templates/your_topic.txt`:
```
# {your_topic_title}
$ command example
> {command_description}
$ another command
> {another_description}
```
Then add translations to `localizations/en.json` and `localizations/ru.json`:
```json
{
"your_topic_title": "Your Topic Cheat Sheet",
"command_description": "Description of what this command does",
"another_description": "Another description"
}
```
### Template Format
- Use `{key_name}` placeholders for translations
- Commands start with `$`
- Descriptions start with `>`
- Headers start with `#`
- Add empty lines between commands for better readability
## π Documentation
- [English Documentation](README.md) (current)
- [Russian Documentation](docs/ru/README.md)
- [Changelog](CHANGELOG.md) - Complete version history
## π€ Contributing
We welcome contributions! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines on how to contribute to this project.
## π License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## π Acknowledgments
- Inspired by the need for quick command reference
- Built with pure bash for maximum compatibility
- Color support for better readability
## π₯ Contributors
Thanks to all contributors! π
Want to see yourself here? Make a PR!

Vi
π» π π€
Add your contributions
This list is updated automatically using [all-contributors](https://github.com/all-contributors/all-contributors) after each merged PR.
## Contributors β¨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!