TUI tool for generating chmod commands by selecting file permissions through an interactive interface
chmod-cli is a terminal user interface tool that provides an interactive way to generate chmod commands for file and directory permissions. Instead of memorizing numeric permission codes or symbolic notation, users can select permission settings through a visual interface with checkboxes and options.
The tool presents permission categories (owner, group, other) in a navigable TUI format where users can toggle read, write, and execute permissions for each category. Once configured, it generates the corresponding chmod command in both numeric (like 755) and symbolic (like rwxr-xr-x) formats. The generated command can be copied to the clipboard with Ctrl+c for immediate use.
Built with Go and the Bubbletea TUI framework, chmod-cli includes standard navigation controls (arrow keys, tab, enter) and help documentation accessible via Shift+?. The tool targets system administrators, developers, and anyone who works with Unix file permissions but prefers a visual interface over remembering permission codes.
# via Homebrew
brew install Mayowa-Ojo/tap/chmod-cli
# via Build from source
git clone github.com/Mayowa-Ojo/chmod-cli && cd chmod-cli && make install