Terminal utilities for MacOS
- 🍎 umac (toolkit)
- 🗝 Prerequesites
- 🟢 JavaScript / Typescript library
- 🔑 Installation
- ⚙️ Usage
- ☑️ TO DO
- ➕ More
- 👨💻 Development
- ❤️ Donate
- 📜 License
- ✨ About us
Have a system based on DarwinOS, that is, any Apple computer 🍎
Now You can use
umac
on your JS / TS project
npm install umac
# or
pnpm install umac
# or
yarn add umac
# or
bun add umac
# or
deno add umac
umac [option/s] [--flags/s]
umac [option/s] [--flags/s] --help
With 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
umac app --help
Install apps using Homebrew
.
Don't worry if
Homebrew
is not installed on your system, umac should do it for you automatically 🔮
umac app install appName1 appName2
# or
umac app i appName1 appName2
Uninstall apps using Homebrew
.
umac app uninstall appName1 appName2
# or
umac app u appName1 appName2
Search apps in HomeBrew.
umac app search appName
# or
umac app s appName
umac app undev --help
Change or show status for unidentificated apps.
Show status for no identificated apps
umac app undev
Change status for no identificated apps
umac app dev --enable
umac app dev --disable
umac app close --help
Close apps from a list
umac app close --ask
Close all apps
umac app close '*'
Close specific apps
umac app close app1 app2
Close all apps that contains avast name
umac app close "*Avast*"
umac cache --help
umac cache open
Remove macOS cache from a list.
umac cache rm
umac open --help
# 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
# ...
umac desktop --help
# or (short command)
umac desk -h
umac interacting --help
# or (short command)
umac interact -h
Set a macOS notification
umac interact notification --help
Set a macOS dialog
umac interact dialog --help
Set a macOS alert
umac interact alert --help
Display voice message
umac interact say --help
Set custom prompts like text, choices, files, color, etc.
umac interact prompt --help
umac terminal --help
# or (short command)
umac term --help
Change shell.
umac terminal shell change
List available shells.
umac terminal shell list
View current shell.
umac terminal shell current
MacOS Spotlight utils
umac spotlight--help
To see Spotlight status.
umac spotlight <path>
To enable Spotlight.
umac spotlight --enable
To disable Spotlight.
umac spotlight --disable
Toggle Spotlight status.
umac spotlight --toggle
Run multiple language scripts (applescript, jxa, osascript, python, js, bash etc)
umac run --help
Run jxa file script
umac run jxa --help
Run osascript file script
umac run osascript --help
Run js|ts file script
umac run node|js|ts --help
Run bash file script
umac run bash --help
Run python file script
umac run python --help
Run multiple language scripts (applescript, jxa, osascript, python, js, bash etc)
umac system --help
# or (short command)
umac sys -h
System updates
umac system update --help
# or (short command)
umac sys up -h
Close down the system at a given time
umac system shutdown --help
# or (short command)
umac sys down -h
Reboot system
umac system reboot --help
# or (short command)
umac sys reboot -h
Show hardware information
umac system hardware --help
# or (short command)
umac sys hardware -h
Show system version
umac system version --help
# or (short command)
umac sys version -h
MacOS Finder utils
umac finder --help
MacOS Workflow utils
umac workflow --help
# or (short command)
umac wf -h
MacOS Appearance utils
umac appearance --help
umac appearance dark-mode --help
umac appearance color --help
umac is an open-source project and its development is open to anyone who wants to participate.
Help us to develop more interesting things.
This software is licensed with GPL-3.0.
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.