# 使用 Homebrew, Nix, scoop 安装 ls-lint

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

## 安装

```sh
sudo av install brew:ls-lint
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ls-lint
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ls-lint
```

  证据: nixpkgs package indexes: pkgs/by-name/ls/ls-lint/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/ls-lint
```

  证据: Scoop official bucket manifest trees: bucket/ls-lint.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:ls-lint
- **软件包管理器:** Homebrew
- **版本:** 2.3.1
- **来源摘要:** Extremely fast file and directory name linter
- **主页:** <https://ls-lint.org/>
- **仓库:** <https://github.com/loeffel-io/ls-lint>
- **最后更新:** 2026-07-26T13:41:03+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- ls-lint (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

ls-lint is a file and directory name linter that enforces naming rules from one or more `.ls-lint.yml` files.

### 项目历史

The official site and README present ls-lint as an extremely fast directory and filename linter intended to bring structure to project filesystems. The GitHub repository was created in February 2020, and releases show v1.0.0 published in March 2020.

The project grew into a cross-platform developer tool with documentation versions, a GitHub Action, npm distribution, Homebrew packaging, and Docker support. Its public docs emphasize minimal setup, Unicode support, and linting thousands of files and directories in milliseconds.

### 采用历史

The README advertises use by Renovate, Terser, and other projects, and GitHub metadata shows roughly 2.4k stars by July 2026. The supplied package-manager facts list Homebrew, Nix, and Scoop packages.

ls-lint fits the rise of repository hygiene tooling in CI: rather than linting code syntax, it makes naming conventions enforceable across folders, generated files, fixtures, and language-mixed monorepos.

### 使用方式

Users place rules in `.ls-lint.yml` and run `ls-lint` locally or in CI. The docs and README show YAML rules that map path globs and extensions to naming styles such as kebab-case, camelCase, PascalCase, regex rules, and existence checks.

No credentials are involved. Configuration is project-local and intentionally simple, with the README describing one or multiple `.ls-lint.yml` files.

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

ls-lint is notable because it treats the filesystem itself as lintable source. For package maintainers and CI users, it is a small binary that enforces repository conventions without depending on a specific programming language stack.

### 时间线

- 2020: GitHub repository created and v1.0.0 released.
- 2023: v2.0.0 released.
- 2025: v2.3.x releases published and official docs list 2.3 as the current documentation track.
- 2026: Official site copyright spans 2020-2026 and GitHub metadata shows continued activity.

### Related projects

- Related tooling includes language-specific linters, pre-commit hooks, GitHub Actions, Renovate, and repository policy tools that enforce naming or layout conventions.

### 来源

- <https://api.github.com/repos/loeffel-io/ls-lint>
- <https://api.github.com/repos/loeffel-io/ls-lint/releases?per_page=100>
- <https://github.com/loeffel-io/ls-lint>
- <https://ls-lint.org/>
- <https://raw.githubusercontent.com/loeffel-io/ls-lint/master/README.md>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: .ls-lint.yml
## 其他软件包管理器记录

- Nix - ls-lint: normalized package name match | nixpkgs package indexes: pkgs/by-name/ls/ls-lint/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/ls-lint: normalized package name match | Scoop official bucket manifest trees: bucket/ls-lint.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
