npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

umac

v2.2.7

Published

Terminal utilities for MacOS

Readme

umac

Web About Us Donate Twitter Instagram Medium

BANNER

License Version

Terminal utilities for MacOS

Table of contents

🍎 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.

Read 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] --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

Apps

umac app --help

ℹ️ You can also use umac/app independently.

Install

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

Uninstall apps using Homebrew.

umac app uninstall appName1 appName2
# or
umac app u appName1 appName2

Search

Search apps in HomeBrew.

umac app search appName
# or
umac app s appName

Unidentified apps

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

Close

umac app close --help
Examples

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*"

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 open

Remove

Remove macOS cache from a list.

umac cache rm

Open

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 imageName

Change

Change the Desktop image in the desktop pictures directory.

umac desktop change imagePath

Add

Add a Desktop image to the desktop pictures directory.

umac desktop add imagePath
# or
umac desktop add imagePath --dir
# or
umac desktop add imagePath --sys

Interact / 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 --help

Dialog

Set a macOS dialog

umac interact dialog --help

Alert

Set a macOS alert

umac interact alert --help

Say

Display voice message

umac interact say --help

Prompt

Set custom prompts like text, choices, files, color, etc.

umac interact prompt --help

Terminal

umac terminal --help
# or (short command)
umac term --help

ℹ️ You can also use umac/terminal independently.

Change

Change shell.

umac terminal shell change

List

List available shells.

umac terminal shell list

Current

View current shell.

umac terminal shell current

Spotlight

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 --enable

To disable Spotlight.

umac spotlight --disable

Toggle Spotlight status.

umac spotlight --toggle

Run

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 --help

osascript

Run osascript file script

umac run osascript --help

JS or TS

Run js|ts file script

umac run node|js|ts --help

bash

Run bash file script

umac run bash --help

Python

Run python file script

umac run python --help

System

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 -h

Shutdown

Close down the system at a given time

umac system shutdown --help
# or (short command)
umac sys down -h

Reboot

Reboot system

umac system reboot --help
# or (short command)
umac sys reboot -h

Hardware

Show hardware information

umac system hardware --help
# or (short command)
umac sys hardware -h

Version

Show system version

umac system version --help
# or (short command)
umac sys version -h

Finder

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 close

Reload

Reload Finder.

umac finder reload

Dotfiles

Show, hide or toggle dotfiles visibility.

umac finder dotfiles
# or
umac finder dotfiles --toggle
# or
umac finder dotfiles --enable
# or
umac finder dotfiles --disable

Workflow

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 list

Copy

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-dir

Open

Prompts the user to select and open a workflow with Automator.

umac workflow open

New

Opens a new project in Automator.

umac workflow new

Appearance

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 --disable

Color

Color utilities. Like accent, highlight...

umac appearance color
# or
umac appearance color accent
# or
umac appearance color highlight

Disk

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=json

Space

Show disk space usage.

umac disk space
# or
umac disk space --res=json

Info

Show detailed info about a disk or volume.

umac disk info /dev/disk0

Eject

Eject a disk or volume.

umac disk eject disk3s1

Messages

MacOS Messages.app utils

umac messages --help

ℹ️ You can also use umac/messages independently.

Open

Open the Messages app.

umac messages open

Send

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 10

Services

List the services configured in Messages.

umac messages services

Notes

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-notes

Move

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 open

List

List shortcuts or folders.

umac shortcuts list
# or
umac shortcuts list --folder "My Folder"
# or
umac shortcuts list --folders

Run

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.

Issues Pull requests Read more

❤️ Donate

Help us to develop more interesting things.

Donate

📜 License

This software is licensed with MIT.

Read more

✨ 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.

More


Web About Us Donate Twitter Instagram Medium