# 使用 Homebrew 安装 fileicon

查看 fileicon 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:fileicon
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install fileicon
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:fileicon
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/fileicon>
- **版本:** 0.3.5
- **来源摘要:** macOS CLI for managing custom icons for files and folders
- **主页:** <https://github.com/mklement0/fileicon>
- **仓库:** <https://github.com/mklement0/fileicon>
- **许可证:** MIT
- **源码归档:** <https://github.com/mklement0/fileicon/archive/refs/tags/v0.3.5.tar.gz>
- **最后更新:** 2026-05-11T00:41:58Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- fileicon (cli)
- fileicon (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.3.5
- 管理器更新时间: 2026-05-11
- 本地数据: OK
- 上游仓库: https://github.com/mklement0/fileicon
- 检测到的最新版本: v0.3.5 (当前)
## 项目历史与用法

fileicon is a macOS command-line utility for setting, removing, extracting, and testing custom icons on files and folders.

### 项目历史

fileicon began with an initial v0.1.0 release on August 3, 2015. Its README and generated manual explain that it provides a programmatic alternative to using Finder for custom icons, storing icon data through macOS filesystem metadata.

### 采用历史

The README documents Homebrew, npm, and manual installation. Its changelog credits Homebrew formula availability in late 2019 and later macOS compatibility work for Monterey and Ventura-era behavior.

### 使用方式

The CLI exposes set, rm, get, and test subcommands. Users provide a target file or folder and, for set, an image file; the tool creates square icon representations and applies macOS custom-icon metadata.

### 为什么软件包爱好者会关心

fileicon is a good example of package managers distributing a narrow macOS automation tool that wraps platform-specific metadata behavior behind a scriptable CLI, with both Homebrew and npm installation paths documented by the maintainer.

### 时间线

- 2015: Initial v0.1.0 release.
- 2017: v0.2.0 added macOS High Sierra support and changed icon generation internals.
- 2019: Homebrew installation became available.
- 2022: v0.3.x adjusted for macOS Monterey Python changes and volume icons.
- 2026: v0.3.5 released according to the official changelog.

### Related projects

- The README references Icon Changer as a GUI utility that uses fileicon behind the scenes.

### 来源

- <https://api.github.com/repos/mklement0/fileicon>
- <https://formulae.brew.sh/api/formula/fileicon.json>
- <https://github.com/mklement0/fileicon>
- <https://raw.githubusercontent.com/mklement0/fileicon/master/README.md>
- <https://raw.githubusercontent.com/mklement0/fileicon/master/doc/fileicon.md>


## 安全说明

没有找到 fileicon 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** fileicon
- **Version Scheme:** 0
- **Revision:** 0
- **Requirements:** macos
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [osxutils](https://pkg.so/zh-hans/brew/osxutils/) - Shares pkgdb curated category or tags: cli, finder, macos, system.
- [mole](https://pkg.so/zh-hans/brew/mole/) - Shares pkgdb curated category or tags: cli, macos, system.
- [mas](https://pkg.so/zh-hans/brew/mas/) - Shares pkgdb curated category or tags: cli, macos, system.
- [osx-cpu-temp](https://pkg.so/zh-hans/brew/osx-cpu-temp/) - Shares pkgdb curated category or tags: cli, macos, system.
- [sleepwatcher](https://pkg.so/zh-hans/brew/sleepwatcher/) - Shares pkgdb curated category or tags: cli, macos, system.
- [m-cli](https://pkg.so/zh-hans/brew/m-cli/) - Shares pkgdb curated category or tags: cli, macos, system.
- [reattach-to-user-namespace](https://pkg.so/zh-hans/brew/reattach-to-user-namespace/) - Shares pkgdb curated category or tags: cli, macos, system.
- [mist-cli](https://pkg.so/zh-hans/brew/mist-cli/) - Shares pkgdb curated category or tags: cli, macos, system.
- [ddh](https://pkg.so/zh-hans/brew/ddh/) - Local package facts share a topical domain. Shared terms: cli, file, file-management, files, finder.
- [rmtrash](https://pkg.so/zh-hans/brew/rmtrash/) - Local package facts share a topical domain. Shared terms: cli, file, file-management, files, macos.
- [czkawka](https://pkg.so/zh-hans/brew/czkawka/) - Local package facts share a topical domain. Shared terms: cli, file, file-management, files, management.

## Combined YAML source

View the package source record on GitHub. [combined/fileicon.yml](https://github.com/mxcl/pkgdb/blob/main/combined/fileicon.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
