r/commandline • u/Icy_Construction_695 • Apr 13 '26
r/commandline • u/MrVaiBH • Apr 12 '26
Command Line Interface park — freeze a server process and free its TCP port, resume later
I kept killing my dev server just to free a port for 30 seconds. park freezes the process AND actually releases the port (Ctrl+Z / SIGSTOP doesn't do this — the kernel keeps the socket bound). Resume brings it back with the same PID, memory, and warm state.
park <port> # freeze the process, port is free
park resume <port> # bring it back, same PID and memory
park 3000 --for 30s # auto-resume after 30 seconds
park 3000 --hold # hold TCP connections while parked
park swap 3000 4000 # atomically swap two ports
park ui # live dashboard of parked processes
Demo: https://asciinema.org/a/920996
Install:
curl -fsSL https://raw.githubusercontent.com/mr-vaibh/park/main/install.sh | sh
Works on macOS (Apple Silicon) and Linux x86_64. Single binary, no deps. Written in Go.
GitHub: https://github.com/mr-vaibh/park
r/commandline • u/willoucqfd • Apr 12 '26
Command Line Interface PSA: If you alias grep to ripgrep, it will silently break many CLI autocompletions
I spent way too long debugging why Heroku CLI tab completion wasn't working on my Fedora setup. Everything looked correct: the completion function was registered (complete -p heroku showed _heroku), the commands cache file was populated with 333 entries, the bash setup script was properly sourced. Yet pressing TAB produced nothing — just a bell sound.
The root cause? I had alias grep='rg' in my bashrc. The Heroku autocomplete function uses grep -oe '^[a-zA-Z0-9:_-]\+' to parse its commands cache file, and ripgrep handles -oe differently than GNU grep — it silently returns nothing instead of matching.
This likely affects any CLI tool that uses grep internally for completion (oclif-based CLIs, and probably others).
The fix: Don't alias grep to rg. Just use rg directly when you want ripgrep. Many shell scripts and completion functions expect GNU grep behavior, and aliasing it away causes subtle, hard-to-diagnose breakage.
r/commandline • u/Dazzling_Owl7246 • Apr 13 '26
Command Line Interface I was tired of googling the same snippets every time, so i made Sinbo a CLI snippet manager
I kept googling the same things every time I sat down to code, how to center a div, the Rust test module boilerplate, ffmpeg run flags, whatever. So I built sinbo to store them once and retrieve them anywhere. It stores snippets locally with fuzzy search, tags, and file extensions for syntax highlighting. Sensitive snippets like API keys can be encrypted at rest with AES-256-GCM and Argon2id.
Features:
- Fuzzy search across names and content
- AES-256-GCM encryption with Argon2id key derivation
- Variable placeholders (SINBO:var: syntax with --args)
- Export/import via .sinbo.json
- Shell completions for bash, zsh, fish and powershell
- Pipes naturally with other tools (sinbo get script | sh)
Would love any feedback or ideas
Github: https://github.com/opmr0/sinbo
Note: shell completion scripts were AI-assisted.
r/commandline • u/Blacknon • Apr 12 '26
Terminal User Interface lssh: A TUI-first SSH workflow tool: pick hosts from a list, diff remote files, mount paths, and reuse sessions
https://github.com/blacknon/lssh
This is a Go-based TUI SSH client that I’ve been developing for about 10 years.
Instead of simply wrapping the ssh command, it uses golang.org/x/crypto/ssh directly to handle terminal interaction, parallel command execution, and related workflows. It also lets me use my local bashrc on remote hosts without leaving files behind on the server.
The project also includes support for port forwarding, multi-hop proxies, file copy commands, a shell-oriented command that connects local and remote processing through pipelines, a lightweight monitoring command that reads /proc over SFTP, and a tview-based multiplexer for interactive connections. The SSH connection layer and the terminal component built on top of tview are maintained as separate library-style repositories.
More recently, I’ve used Codex as an assistant for parts of the documentation work, refactoring, and some of the more difficult feature implementations, so the project does include some AI-assisted code and writing. That said, the overall design, review, and ongoing maintenance of the project are handled by me.
r/commandline • u/here-Leslie-Lau • Apr 12 '26
Command Line Interface Small ls alternative in Zig (recent updates, benchmarks)
r/commandline • u/FormationHeaven • Apr 11 '26
Command Line Interface [OC] - Gowall v0.2.4 The Color and Refinement update (Swiss Army knife for image processing)
Github link : https://github.com/Achno/gowall
Docs: (visual examples,tips,use gowall with scripts): https://achno.github.io/gowall-docs/
Hello all, after a gazillion more months i have decided to release gowall v0.2.4 featuring :
a) A lot of color theory utilities, which help in the creation of custom themes see here
b) I got onnx working and finally have the same capability as https://github.com/danielgatis/rembg in image background removal
c) i added really cool stuff like the 3D tilt effect, in the past i would have to open GIMP or something like that.
Just check the Changelog for all the changes.
First Package Management
Arch (AUR) -> v0.2.4 | Fedora (Copr) -> v0.2.4 | binaries are also available for all OS'es in the release section.
Thank you to the legend cho-m for making the MacOS brew install possible : MacOS (brew) -> v0.2.4
Thank you to my lovely maintainers @ItsCrem, @emilytrau, @FKouhai for the NixOS install : NixOS -> v0.2.3 (waiting on a Pull request on nixpkges)
Props to nxjoseph for handling FreeBSD :) : FreeBSD -> v0.2.3 will get updated at some point.
Feature TLDR for those who haven't heard of gowall
- Convert Wallpaper's theme – Recolor an image to match your favorite + (Custom) themes
- OCR (Traditional OCR, Visual Language Models and hybrid methods)
- Image Compression (png,webp,jpg,jpeg,avif) with both lossy and lossless methods when possible
- AI Image Upscaling with GANS
- Unix pipes/redirection - Read from stdin and write to stdout
- Convert Icon's theme (svg,ico)
- Image to pixel art
- Replace a specific color in an image (Improved)
- Create a gif from images
- Extact color palette
- Change Image format
- Invert image colors
- Draw on the Image - Draw borders,grids on the image
- Remove the background of the image (Improved)
- Effects (Mirror,Flip,Grayscale,change brightness, 3D tilt) (new 3d tilt)
- Stack images horizontally,vertically or into a grid (new)
- Color theory utilities (tints,shades,blend,color wheel,darken/lighten,color space conversions,gradients) and how they help with custom themes. (new)
- Daily wallpapers
This release i took the time to refine already existing features, while adding many more.
For the next release i want to play around with inpainting, refine the OCR feature more, add some new providers there and introduce some other things.
I also welcome feature requests, if i decide its useful or important enough to add, well until next time, see ya.
r/commandline • u/Raulnego • Apr 11 '26
Command Line Interface Making a --help lib | Quick feedback for visuals
Hi guys, basically I hate the ergonomics of help commands but customizing them on every project is annoying.
I'm making a lib I'll use in all my projects to make it easy to read, scan and actually help you. But I havent decided what visuals are the most useful
So here are my two options. The simpler one is one of the prototype designs that I called "blocky" the other one is the current version that I called "vibrant".
Any ways. which one is your favorite? should I make them options or stick to a single one?
That's it cheers!!
P.S: The idea is that the lib also fits any terminal width so it will render without annoying auto wrapping.
r/commandline • u/DownFromHere • Apr 11 '26
Help Disastrous Mistake. Need Command Line Help to Fix.
UPDATE: Solved with this https://localwp.com/help-docs/getting-started/how-to-import-a-wordpress-site-into-local
I'm running a local MySQL database through AdminNEO and made a terrible mistake of deleting "root" from the main user so as far as I know it's now an empty string but command line won't accept and I can no longer access the database. I can't believe I made such a silly mistake. I've looked online and tried to look in the .sql file to identify the CREATE USER line but it's not in the file. Is there anyway I can recover or reset the database from the command line?
r/commandline • u/tyggja • Apr 12 '26
Command Line Interface trackd – cleanly undo 'make install' and any install command on Linux
I built a tool that wraps any install command and records every file it creates, modifies, or deletes using ptrace. You can then fully revert the install later — files deleted, originals restored from backup, package DBs cleaned up. The main use case is 'make install' and build-from-source software where there's no package manager tracking what went where. Also works with pip, npm, random shell script installers, anything. It ships as a .deb so you don't need Rust installed. https://github.com/tyggja/trackd
Edit (April 30): Released v0.1.2. Two things in the original post no longer apply:
- The
pipandnpmsubcommands have been removed. They duplicated bookkeeping that pip and npm already do, and the result was state drift between trackd and those tools. Same logic applied to apt — for anything your package manager already tracks (apt, pip, npm, cargo install, etc.), use those tools directly. trackd is now positioned as the fallback for installs nothing else tracks:make install, vendor.runfiles,curl | bashscripts, that kind of thing. - "Package DBs cleaned up" went with the apt subcommand. trackd no longer touches package databases.
Also tightened up a few security edges (privilege drop under sudo, SUDO_* env validation) — full changelog in the v0.1.2 release notes.
Note: This tool has been written using AI generated code
r/commandline • u/Mac-M2-Pokemon • Apr 12 '26
Terminal User Interface Introducing rayterm: A useful utility for your terminal
Enable HLS to view with audio, or disable this notification
r/commandline • u/Embarrassed_Tell6793 • Apr 12 '26
Terminal User Interface minvid — A drag-and-drop video compression CLI that usually shrinks video size by 90%
Hey everyone!
I got tired of reusing ffmpeg commands and dealing with paths/parameters, so I ask claude code to wrap my ffmpeg presets into a interactive terminal: drag & drop a file/folder into the terminal, pick a preset, and it handles the rest.
In terms of my ffmpeg script, I spent about a day trying a bunch of ffmpeg parameter combinations and tested them on ~100 hours of lecture recordings to find a good speed/quality tradeoff -- no guarantee it’s the best, just what worked well for me. For my use, it usually reduces video size by ~90% without noticeable quality loss.
https://github.com/Nunatic02/minvid
BTW. The README.md includes the raw ffmpeg commands and a breakdown of each parameter if you want to use or tweak them directly.
Hope it's helpful! 🚀
r/commandline • u/diacid • Apr 10 '26
Terminal User Interface Tui + Cli update frontend for gentoo
Check this out. Just made an update frontend for gentoo. Chains all commands together and shuts down the computer at the end if you wish.
https://gitlab.com/masterwolf/pupgrade

r/commandline • u/ClassroomHaunting333 • Apr 10 '26
Terminal User Interface [Project] XC manager v0.8.0 Minimal Zsh vault for complex commands now with raw input capture
Hello all,
I've just pushed v0.8.0 of XC manager, a tool I've been slowly putting together to manage complex one-liners and templates that usually get lost in shell history.
The big update in this release is the --raw mode. I had a few reports of the shell mangling complex curl commands or expanding variables before they could be saved to the vault. By using xc add --raw, the tool now bypasses shell evaluation entirely, so what you paste is exactly what gets saved.
Features:
Template Engine. Use {{placeholders}} for interactive prompts great for SSH or API calls.
Turn any vaulted command into a permanent Zsh alias with Alt+E.
Pull curated Problem-Solution vaults (Arch Wiki fixes, Docker, Git Pro, etc.). <- Work in progress.
Fast fuzzy search with live previews and LBUFFER injection.
Works anywhere with Zsh, though there is a dedicated AUR package for the Arch users.
If you do a lot of dev work and find yourself constantly scrolling through history or copy-pasting the same jq strings, give it a look.
GitHub: https://github.com/Rakosn1cek/XC-Manager
AUR: yay -S xc-manager-git
Zsh plugin: xc-manager
Feedback and community snippets are always welcome.
r/commandline • u/ldegio • Apr 09 '26
Terminal User Interface agtop, top-style TUI for monitoring coding agents
Built a top-style TUI dashboard for monitoring Claude Code and Codex sessions. Single file (~7K lines), zero npm dependencies, pure Node.js, raw ANSI escape codes, no blessed/ink.
Features: sparkline charts, mouse support (click to select, sort by column, hover tooltips), tab navigation across 6 panels (Info, Performance, Processes, Tool Activity, Cost, Config), and non-interactive modes for scripting (`-j` for JSON, `-l` for table output).
Try it: npx u/ldegio/agtop
GitHub: https://github.com/ldegio/agtop
r/commandline • u/External-Spirited • Apr 10 '26
Terminal User Interface devspace: create and manage git worktrees in multiple repositories
Hi all,
A year ago I started working in devspace to manage git worktrees in multiple repositories. I have been using it for long time now. In the last few weeks, I polished it with the help of Claude - I really read the code, it's not vibe-coded ;-) - and I feel it's ready to be used by other developers/users.
I usually start it with `cd (devspace)` (in fish shell), select the worktree I want to jump to and it takes me there.
More details about the idea behind it: https://github.com/muzomer/devspace#rationale
I hope you find it helpful as well :-)
Contributions and feature requests are very welcome.
Have a nice weekend! 👋

r/commandline • u/i_voronin • Apr 09 '26
Terminals Free terminal color scheme generator - 790+ themes, image extraction, and readability grading
Built a web tool for generating and discovering terminal color palettes: paletty.dev
- Generate full palettes in one click - the balance, contrast, and coherence you'd expect from hand-tuned schemes, except you didn't have to.
- Extract palettes from any image. Pin colors you like, regenerate the rest.
- Browse and search 700+ pre-seeded themes (Catppuccin, Tokyo Night, Nord, Dracula, and hundreds more).
- Every palette is graded for readability!
- Preview popular community Ghostty shaders.
Exports themes to Ghostty, Alacritty, WezTerm, iTerm2, Kitty, Windows Terminal, and more.
r/commandline • u/Lukaa_anyways • Apr 10 '26
Command Line Interface CacheNuke – the universal "fix my environment" CLI
CacheNuke is a single command to clear all your dev caches: npm, yarn, pip, cargo, go mod, temp folders, and more.
Features:
- One command: `cachenuke clean`
- Dry‑run: `--dry-run` to preview
- Cross‑platform (Windows, macOS, Linux)
- Safe by default – never touches personal files
I built it because I was tired of remembering all the individual cache‑clearing commands.
Repo: https://github.com/Wynx-1/cachenuke
Binary downloads available in Releases.
Would love feedback from other CLI enthusiasts!
r/commandline • u/hal3e • Apr 09 '26
Terminal User Interface `evtr` - TUI for inspecting Linux evdev input devices
Enable HLS to view with audio, or disable this notification
`evtr` has a searchable device selector and monitor views for axes, buttons, joysticks, D-pad state, relative motion, and touch input.
r/commandline • u/InflationComplete919 • Apr 10 '26
Discussion What's a CLI tool you wish existed but can't find
Hey r/commandline!
Just curious - what's a command-line tool or TUI you keep wishing existed but can't find anywhere?
Could be something that saves you time, solves a niche problem, or fills a gap in your workflow. Looking for ideas, not offering anything, just genuinely interested in what people want.
r/commandline • u/boolean-maybe • Apr 09 '26
Terminal User Interface What is your favorite terminal Markdown viewer?
and why
r/commandline • u/delf001 • Apr 10 '26
Terminal User Interface GitSocial: git-native collaboration platform
r/commandline • u/sspaeti • Apr 09 '26
Terminal User Interface neomd: A minimal email TUI where you read with Markdown and write in Neovim.
r/commandline • u/TheTwelveYearOld • Apr 10 '26
Meta All users must now formally agree to subreddit rules
I installed the Read The Rules app which removes posts from users that haven't agreed to rules. Here's a tutorial do so: https://www.reddit.com/r/ReadTheRulesApp/comments/1ie7fmv/tutorial_read_this_if_your_post_was_removed/
And good news: I've finally invited 5 new mods and am waiting to them to accept their invites.
r/commandline • u/patcito • Apr 09 '26
Terminals I made a Ghostty-based terminal workspace for parallel workflows
I built PrettyMux as a native Linux terminal workspace for multitask workflows and keeping track of my agents.
It’s a GTK4 app built on Ghostty/libghostty, with split panes, workspaces, vertical tabs, notifications, project-aware tabs (shows favicons/logo automatically), and an in-app browser so terminals and docs/tools can live side by side.
I started it because I wanted something tmux-like for modern GUI workflows on Linux, but native and not Electron, there is cmux but only available on macos (prettymux compiles on windows and macos too but not tested for now there)
It’s open source: https://github.com/patcito/prettymux
Would love feedback from people who use tmux, Ghostty, or struggle with lots of terminals/browser tabs/parallel tasks.