umac
v2.2.7
Published
Terminal utilities for MacOS
Maintainers
Readme
umac
Terminal utilities for MacOS
Table of contents
- 🍎 umac (toolkit)
- 🗝 Prerequisites
- 🚀 Quick start
- 🔑 Installation
- ⚙️ Usage
- ☑️ TO DO
- ➕ More
- 👨💻 Development
- ❤️ Donate
- 📜 License
- ✨ About us
🍎 umac (toolkit)
umac is a toolkit with terminal utilities for macOS 🍎: install apps, force close apps, clear cache, add desk notifications, change shell, and more.
🗝 Prerequisites
- A system based on DarwinOS, that is, any Apple computer 🍎
🚀 Quick start
JavaScript / TypeScript library
You can also use umac as a JS / TS library directly in your project.
CLI
Quickly run the command line with:
npx umac <command> [...flags]Use Executable
You can download the binary directly from the releases section
🔑 Installation
npm install umac
# or
pnpm install umac
# or
yarn add umac
# or
bun add umac
# or
deno add umac⚙️ Usage
umac [option/s] [--flags/s]umac [option/s] [--flags/s] --helpWith umac you can do many different things. The idea could be to add more and more, who knows 😎
Here is a list of how to use umac
Apps
umac app --helpℹ️ You can also use umac/app independently.
Install
Install apps using Homebrew.
Don't worry if
Homebrewis not installed on your system, umac should do it for you automatically 🔮
umac app install appName1 appName2
# or
umac app i appName1 appName2Uninstall
Uninstall apps using Homebrew.
umac app uninstall appName1 appName2
# or
umac app u appName1 appName2Search
Search apps in HomeBrew.
umac app search appName
# or
umac app s appNameUnidentified apps
umac app undev --helpChange or show status for unidentificated apps.
Show status for no identificated apps
umac app undev Change status for no identificated apps
umac app dev --enableumac app dev --disableClose
umac app close --helpExamples
Close apps from a list
umac app close --askClose all apps
umac app close '*'Close specific apps
umac app close app1 app2Close all apps that contains avast name
umac app close "*Avast*"List
List system apps.
umac app list
# or
umac app list '!Avast*' '!*.avast*'Cache
umac cache --helpℹ️ You can also use umac/cache independently.
Open cache Directory in Finder
umac cache openRemove
Remove macOS cache from a list.
umac cache rmOpen
umac open --helpℹ️ You can also use umac/open independently.
Examples
# Open path in Finder or URL in default browser.
umac open {URL/path}
# Open in Safari
umac open {URL/path} --safari
# Open in Firefox
umac open {URL/path} --firefox
# Open in Chrome
umac open {URL/path} --chrome
# Open in Visual Studio Code
umac open {path} --vscode
# ...
Desktop
umac desktop --help
# or (short command)
umac desk -hℹ️ You can also use umac/desktop independently.
Remove
Remove Desktop image.
umac desktop remove
# or
umac desktop remove imageNameChange
Change the Desktop image in the desktop pictures directory.
umac desktop change imagePathAdd
Add a Desktop image to the desktop pictures directory.
umac desktop add imagePath
# or
umac desktop add imagePath --dir
# or
umac desktop add imagePath --sysInteract / Interacting
umac interacting --help
# or (short command)
umac interact -hℹ️ You can also use umac/interacting independently.
Notification
Set a macOS notification
umac interact notification --helpDialog
Set a macOS dialog
umac interact dialog --helpAlert
Set a macOS alert
umac interact alert --helpSay
Display voice message
umac interact say --helpPrompt
Set custom prompts like text, choices, files, color, etc.
umac interact prompt --helpTerminal
umac terminal --help
# or (short command)
umac term --helpℹ️ You can also use umac/terminal independently.
Change
Change shell.
umac terminal shell changeList
List available shells.
umac terminal shell listCurrent
View current shell.
umac terminal shell currentSpotlight
MacOS Spotlight utils
umac spotlight --helpℹ️ You can also use umac/spotlight independently.
To see Spotlight status.
umac spotlight <path>To enable Spotlight.
umac spotlight --enableTo disable Spotlight.
umac spotlight --disableToggle Spotlight status.
umac spotlight --toggleRun
Run multiple language scripts (applescript, jxa, osascript, python, js, bash etc)
umac run --helpℹ️ You can also use umac/run independently.
jxa
Run jxa file script
umac run jxa --helposascript
Run osascript file script
umac run osascript --helpJS or TS
Run js|ts file script
umac run node|js|ts --helpbash
Run bash file script
umac run bash --helpPython
Run python file script
umac run python --helpSystem
Run multiple language scripts (applescript, jxa, osascript, python, js, bash etc)
umac system --help
# or (short command)
umac sys -hℹ️ You can also use umac/system independently.
Update
System updates
umac system update --help
# or (short command)
umac sys up -hShutdown
Close down the system at a given time
umac system shutdown --help
# or (short command)
umac sys down -hReboot
Reboot system
umac system reboot --help
# or (short command)
umac sys reboot -hHardware
Show hardware information
umac system hardware --help
# or (short command)
umac sys hardware -hVersion
Show system version
umac system version --help
# or (short command)
umac sys version -hFinder
MacOS Finder utils
umac finder --helpℹ️ You can also use umac/finder independently.
Close
Close all Finder windows and force exit from Finder.
umac finder closeReload
Reload Finder.
umac finder reloadDotfiles
Show, hide or toggle dotfiles visibility.
umac finder dotfiles
# or
umac finder dotfiles --toggle
# or
umac finder dotfiles --enable
# or
umac finder dotfiles --disableWorkflow
MacOS Workflow utils
umac workflow --help
# or (short command)
umac wf -hℹ️ You can also use umac/workflow independently.
List
Lists all available workflows in the services directory.
umac workflow listCopy
Copies all workflows to the specified directory.
umac workflow copy --output <dir>Open dir
Opens the services directory in the file explorer.
umac workflow open-dirOpen
Prompts the user to select and open a workflow with Automator.
umac workflow openNew
Opens a new project in Automator.
umac workflow newAppearance
MacOS Appearance utils
umac appearance --helpℹ️ You can also use umac/appearance independently.
Dark mode
Dark mode utilities. Toggle, set, get...
umac appearance dark-mode
# or
umac appearance dark-mode --toggle
# or
umac appearance dark-mode --enable
# or
umac appearance dark-mode --disableColor
Color utilities. Like accent, highlight...
umac appearance color
# or
umac appearance color accent
# or
umac appearance color highlightDisk
MacOS Disk utils
umac disk --helpℹ️ You can also use umac/disk independently.
List
List disks and their partitions.
umac disk list
# or
umac disk list --res=jsonSpace
Show disk space usage.
umac disk space
# or
umac disk space --res=jsonInfo
Show detailed info about a disk or volume.
umac disk info /dev/disk0Eject
Eject a disk or volume.
umac disk eject disk3s1Messages
MacOS Messages.app utils
umac messages --helpℹ️ You can also use umac/messages independently.
Open
Open the Messages app.
umac messages openSend
Send a message to a buddy handle or a chat id.
umac messages send -t "[email protected]" -m "Hola!"
# or
umac messages send -t "iMessage;-;[email protected]" -m "Hola!"List
List the currently open chats.
umac messages list
# or
umac messages list --name "Work"
# or
umac messages list --participants "[email protected]"Read messages
Read the messages of a chat.
umac messages messages "iMessage;-;[email protected]"
# or
umac messages messages "iMessage;-;[email protected]" --limit 10Services
List the services configured in Messages.
umac messages servicesNotes
MacOS Notes utils
umac notes --helpℹ️ You can also use umac/notes independently.
Open
Open Apple Notes app or focus a specific note.
umac notes open
# or
umac notes open "Ideas"Open new
Create and focus a new blank note or a titled note in a folder path.
umac notes open-new
# or
umac notes open-new "Quick Note"Add
Create a new note (creates parent folders if missing).
umac notes add "Shopping List"
# or
umac notes add "Work" "Projects" "Q1 Roadmap"Remove
Remove a note by title or path.
umac notes remove "Shopping List"
# or
umac notes remove "Work" "Projects" "Q1 Roadmap"Add folder
Create a new folder or nested subfolders hierarchy.
umac notes add-folder "Work"
# or
umac notes add-folder "Work" "Projects" "2026"Remove folder
Remove a folder or nested folder path.
umac notes remove-folder "Work" "Old Projects"
# or
umac notes remove-folder "Work" "Drafts" --only-notesMove
Move a note to a target folder.
umac notes move "Shopping List" --to "Work"Rename
Rename a note or folder.
umac notes rename "Shopping List" --name "Groceries"Exists
Check if a note or folder exists.
umac notes exists "Work"
# or
umac notes exists "Work" "Projects" "Q1 Roadmap"List
List all notes with their metadata.
umac notes list
# or
umac notes list --name "Meeting"
# or
umac notes list --folder "Work" "Projects"Shortcuts
MacOS Shortcuts utils
umac shortcuts --helpℹ️ You can also use umac/shortcuts independently.
Open
Open the Shortcuts app.
umac shortcuts openList
List shortcuts or folders.
umac shortcuts list
# or
umac shortcuts list --folder "My Folder"
# or
umac shortcuts list --foldersRun
Run a shortcut.
umac shortcuts run "My Shortcut"
# or
umac shortcuts run "Resize Image" -i "photo.jpg" -o "resized.jpg"View
View a shortcut in the Shortcuts app.
umac shortcuts view "My Shortcut"☑️ TO DO
➕ More
👨💻 Development
umac is an open-source project and its development is open to anyone who wants to participate.
❤️ Donate
Help us to develop more interesting things.
📜 License
This software is licensed with MIT.
✨ About us
PigeonPosse is a code development collective focused on creating practical and interesting tools that help developers and users enjoy a more agile and comfortable experience. Our projects cover various programming sectors and we do not have a thematic limitation in terms of projects.

