1.7 KiB
1.7 KiB
Better CLI tools
- What: What is the tool for
- OG: Original tool
- Better: Better tool to use
- Lang: Language the tool is written in
- Multi: Works on all major platforms (Windows, Linux, Mac, *BSD)
What | OG | Better | Lang | Multi | How to install |
---|---|---|---|---|---|
Find text in files | grep | ripgrep | Rust | ✔️ | cargo install ripgrep |
List files in a directory | ls | exa | Rust | ❌1 | cargo install exa |
Read file content | cat | bat | Rust | ✔️ | Package manager (+ choco) |
Find files by name | find | fzf | Go | ✔️ | Package manager (+ choco) |
Count lines of code | cloc | loc | Rust | ✔️ | cargo install loc |
Navigate/manipulate JSON | N/A | jq | C | ✔️ | Package manager (+ choco) |
Navigate/manipulate HTML | N/A | pup | Go | ✔️ | go get github.com/ericchiang/pup |
Static HTTP file server | many | ran | Go | ✔️ | go get -u github.com/m3ng9i/ran |
exa
doesn't compile on Windows