AptLynx

Command-line tool

fileicon

brew/fileicon

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

macOS CLI for managing custom icons for files and folders

At a glance

Type
Command-line tool
Install on
macOS
Last checked
25 Oct 2026, 21:09 UTC

Install it

macOS

brew install fileicon

Set a custom icon for a specific file or directory

fileicon set path/to/file_or_directory path/to/icon_file.png

Remove a custom icon from a specific file or directory

fileicon rm path/to/file_or_directory

Save the custom icon of a file or directory as a `.icns` file into the current directory

fileicon get path/to/file_or_directory

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents