# 使用 Homebrew 安装 css-crush

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

## 安装

```sh
sudo av install brew:css-crush
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install css-crush
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:css-crush
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/css-crush>
- **版本:** 5.0.1
- **来源摘要:** Extensible PHP based CSS preprocessor
- **主页:** <https://the-echoplex.net/csscrush>
- **仓库:** <https://github.com/peteboere/css-crush>
- **上游文档:** <https://the-echoplex.net/csscrush>
- **许可证:** MIT
- **源码归档:** <https://github.com/peteboere/css-crush/archive/refs/tags/v5.0.1.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- csscrush (cli)
- csscrush (别名)

## 依赖

- php

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 5.0.1
- 本地数据: OK
- 上游仓库: https://github.com/peteboere/css-crush
- 检测到的最新版本: v5.0.1 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

CSS Crush is an extensible PHP-based CSS preprocessor and command-line tool for vendor prefixing, variables, imports, nesting, functions, mixins, minification, plugins, and source maps.

### 项目历史

The upstream changelog shows CSS Crush evolving through the early-2010s CSS preprocessor wave, adding selector aliasing, vendor aliases, plugins, source maps, watch mode, and command-line workflow features before later major releases raised PHP requirements and removed older legacy-browser features.

### 采用历史

The README documents both Composer installation for PHP projects and npm installation for JavaScript workflows, reflecting a package that began as a PHP preprocessor but also catered to Node-oriented build pipelines.

### 使用方式

CSS Crush can be used as a PHP library, through helper functions that compile files or strings, or as a CLI-oriented build tool. The 2014 changelog entry for version 2.2.0 added a command-line config file named crushfile.php, which is the package's official documented config filename.

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

For package collectors, CSS Crush represents the period when CSS preprocessors competed on lightweight build integration, automatic prefixing, and language extensions before many of those features moved into PostCSS pipelines or native CSS.

### 时间线

- 2012: 1.8.0 adds selector aliasing.
- 2013: 2.0.0 raises the PHP requirement, namespaces library code, and removes several legacy IE helpers.
- 2014: 2.2.0 adds crushfile.php for command-line configuration.
- 2019: 3.0.0 raises the PHP requirement to 5.6 and simplifies the plugin API.
- 2022: 4.0.0 raises the PHP requirement to 7.

### Related projects

- CSS Crush sits in the same historical space as Sass, Less, Stylus, PostCSS-era plugins, and other CSS build tools that extended CSS before browser support caught up.

### 来源

- <https://github.com/peteboere/css-crush#readme>
- <https://github.com/peteboere/css-crush/blob/master/CHANGELOG.md>
- <https://the-echoplex.net/csscrush>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

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


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [php](https://pkg.so/zh-hans/brew/php/) - Runtime dependency declared by Homebrew.
- [sassc](https://pkg.so/zh-hans/brew/sassc/) - Shares pkgdb curated category or tags: cli, css, developer-tools, web-development.
- [angular-cli](https://pkg.so/zh-hans/brew/angular-cli/) - Shares pkgdb curated category or tags: cli, developer-tools, web-development.
- [minify](https://pkg.so/zh-hans/brew/minify/) - Shares pkgdb curated category or tags: cli, css, developer-tools, web-development.
- [node-sass](https://pkg.so/zh-hans/brew/node-sass/) - Shares pkgdb curated category or tags: cli, css, developer-tools.
- [js-beautify](https://pkg.so/zh-hans/brew/js-beautify/) - Shares pkgdb curated category or tags: cli, css, developer-tools, web-development.
- [nuxi](https://pkg.so/zh-hans/brew/nuxi/) - Shares pkgdb curated category or tags: cli, developer-tools, web-development.
- [rustywind](https://pkg.so/zh-hans/brew/rustywind/) - Shares pkgdb curated category or tags: cli, css, developer-tools.
- [livereload](https://pkg.so/zh-hans/brew/livereload/) - Shares pkgdb curated category or tags: cli, developer-tools, web-development.
- [gonzales-pe](https://pkg.so/zh-hans/npm/gonzales-pe/) - Local package facts share a topical domain. Shared terms: cli, css, developer, developer-tools, development.
- [html-minifier](https://pkg.so/zh-hans/npm/html-minifier/) - Local package facts share a topical domain. Shared terms: based, cli, css, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/css-crush.yml](https://github.com/mxcl/pkgdb/blob/main/combined/css-crush.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
