# chmod-cli

> TUI tool for generating chmod commands by selecting file permissions through an interactive interface

Stars: 198 · Categories: System

- Repository: https://github.com/Mayowa-Ojo/chmod-cli
- Page: https://www.trmn.sh/tools/chmod-cli

## Install

- Homebrew: `brew install Mayowa-Ojo/tap/chmod-cli`
- Build from source: `git clone github.com/Mayowa-Ojo/chmod-cli && cd chmod-cli && make install`

## Overview

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.

### Installation

```bash
# via Homebrew
brew install Mayowa-Ojo/tap/chmod-cli
```

```bash
# via Build from source
git clone github.com/Mayowa-Ojo/chmod-cli && cd chmod-cli && make install
```

![chmod-cli TUI interface demonstration](https://media.trmn.sh/cached/ff96e8f5d1b3ffc0be2c5d359ce3f6e4692c36b736a33f58fd5ab4e64c4de277.svg)

## Alternatives

- [kure](https://www.trmn.sh/tools/kure.md): Command-line password manager with AES-GCM encryption and offline operation (Go, 172 stars)
- [cy](https://www.trmn.sh/tools/cy.md): Terminal multiplexer with time-travel replay, fuzzy finding, and Janet configuration language (226 stars)
- [claws](https://www.trmn.sh/tools/claws.md): Terminal UI for navigating and managing AWS resources across 70+ services with vim-style keybindings. (164 stars)
- [ssm](https://www.trmn.sh/tools/ssm.md): Terminal UI for managing and connecting to SSH hosts with vim-style navigation and tagging (Go, 114 stars)
- [countryfetch](https://www.trmn.sh/tools/countryfetch.md): A neofetch-like CLI tool that displays information about countries including flags, demographics, and geographic data. (283 stars)

---

Canonical: https://www.trmn.sh/tools/chmod-cli
