# 使用 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
- **版本:** 5.0.1
- **来源摘要:** Extensible PHP based CSS preprocessor
- **主页:** <https://the-echoplex.net/csscrush>
- **仓库:** <https://github.com/peteboere/css-crush>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- csscrush (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 5.0.1
## 项目历史与用法

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


## 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
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
