README.md

June 11, 2026 ยท View on GitHub

ya logo

Ya - CLI

Run your commands. Right now.

Ya CLI Banner License

A lightweight command-line shortcut manager. Save long commands under short names and run them instantly โ€” from the terminal or the built-in full-screen TUI.

"Ya" comes from the Spanish word meaning "right now."


Download

Platform
๐ŸชŸ WindowsDownload
๐ŸŽ macOSDownload
๐Ÿง LinuxDownload

Or install with Homebrew: brew tap d3uceY/homebrew-ya && brew install ya


TUI

Run ya with no arguments to open the interactive TUI.

Ya TUI

Browse, search, run, and manage shortcuts without typing subcommands.

KeyAction
โ†‘ โ†“ / j kNavigate
EnterRun selected shortcut
/Search
a e r dAdd / Edit / Rename / Delete
pPin / unpin
hRun history
DSaved directories
?Help
qQuit

CLI Quick Reference

ya                          # open TUI
ya <shortcut>               # run a shortcut
ya add <name> '<command>'   # add a shortcut
ya remove <name>            # delete a shortcut
ya rename <old> <new>       # rename a shortcut
ya list                     # list all shortcuts
ya search <term>            # search by name or command
ya show <name>              # show a shortcut's command
ya import <file>            # import from JSON
ya export <dir>             # export to JSON
ya version                  # show version

Template values

Add {placeholder} tokens to any command โ€” Ya prompts you to fill them in at runtime:

ya add commit 'git commit -m {message}'
ya commit
# โ†’ [1/1] message: fix login bug

Extra arguments

Pass additional args when running a shortcut โ€” they're appended to the command:

ya gcm -m "Initial commit"   # runs: git commit -m 'Initial commit'

Shell Tab-Completion

One-time setup to tab-complete shortcut names:

# PowerShell
ya completion powershell >> $PROFILE ; . $PROFILE
# Bash
echo 'source <(ya completion bash)' >> ~/.bashrc && source ~/.bashrc
# Zsh
echo 'source <(ya completion zsh)' >> ~/.zshrc && source ~/.zshrc
# Fish
ya completion fish > ~/.config/fish/completions/ya.fish

Data

Shortcuts, history, and config are stored in your user config directory and shared with Ya-GUI:

  • Windows: %APPDATA%\ya\data\
  • macOS: ~/Library/Application Support/ya/data/
  • Linux: ~/.config/ya/data/

GUI Companion

Ya GUI

Ya-GUI is a desktop app that reads and writes the same files. Anything you create in the CLI or TUI is immediately available in the GUI, and vice versa.


License

MIT โ€” see LICENSE.

Contributing

See CONTRIBUTING.md for build instructions, project structure, and how to submit changes.