# 使用 npm 安装 stylelint

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

## 安装

```sh
sudo av install npm:stylelint
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g stylelint
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:stylelint
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/stylelint>
- **版本:** 17.14.1
- **来源摘要:** A mighty CSS linter that helps you avoid errors and enforce conventions.
- **主页:** <https://stylelint.io>
- **仓库:** <https://github.com/stylelint/stylelint>
- **上游文档:** <https://stylelint.io>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/stylelint/-/stylelint-17.14.1.tgz>
- **问题跟踪器:** <https://github.com/stylelint/stylelint/issues>
- **发布时间:** 2026-07-20T01:00:57.084Z
- **最后更新:** 2026-07-20T01:00:57.084Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- stylelint (cli)

## 依赖

- @csstools/css-calc
- @csstools/css-parser-algorithms
- @csstools/css-syntax-patches-for-csstree
- @csstools/css-tokenizer
- @csstools/media-query-list-parser
- @csstools/selector-resolve-nested
- @csstools/selector-specificity
- colord
- cosmiconfig
- css-functions-list
- css-tree
- debug
- fast-glob
- fastest-levenshtein
- file-entry-cache
- global-modules
- globby
- globjoin
- html-tags
- ignore
- import-meta-resolve
- mathml-tag-names
- meow
- micromatch
- normalize-path
- picocolors
- postcss
- postcss-safe-parser
- postcss-selector-parser
- postcss-value-parser
- string-width
- supports-hyperlinks
- svg-tags
- table
- write-file-atomic

## 构建依赖

- @changesets/cli
- @changesets/get-github-info
- @jest/globals
- @stylelint/prettier-config
- @stylelint/remark-preset
- @types/css-tree
- @types/debug
- @types/global-modules
- @types/globjoin
- @types/micromatch
- @types/normalize-path
- @types/postcss-less
- @types/postcss-safe-parser
- @types/svg-tags
- @types/write-file-atomic
- @vscode/windows-process-tree
- common-tags
- deepmerge
- eslint
- eslint-config-stylelint
- eslint-plugin-jest
- jest
- jest-preset-stylelint
- jest-watch-typeahead
- lint-staged
- lz-string
- npm-run-all2
- patch-package
- pidusage
- postcss-html
- postcss-import
- postcss-less
- postcss-sass
- postcss-scss
- prettier
- remark-cli
- sugarss
- tinybench
- typescript

## 安装行为

- post-install 钩子: 未定义
- npm 生命周期脚本: prepare
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 17.14.1
- 管理器更新时间: 2026-07-20
- 本地数据: OK
- 上游仓库: https://github.com/stylelint/stylelint
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 17.14.1
- **Version Count:** 281
- **Maintainers:** jeddy3, ybiquitous, romainmenke, ntwb
- **Author:** stylelint
- **Publisher:** GitHub Actions
- **Engines:** Node: >=20.19.0
- **Integrity:** sha512-xVQwyiuxALUBNB2fBe0tmNemg9KqLtdj3T64mioFDar79B2cU8LIyz+3KL6LdiHs9NkeNfwxpKSaIVOY8f112g==
- **Shasum:** a3a2e6e2e9feab2202463fcf15df74de00140b1c
- **Unpacked Size:** 960,506
- **File Count:** 0
- **Created At:** 2014-12-11T07:23:24.871Z
- **Latest Published At:** 2026-07-20T01:00:57.084Z
- **Modified At:** 2026-07-20T01:00:57.601Z

## 其他软件包管理器记录

- Nix - stylelint: normalized package name match | nixpkgs package indexes: pkgs/by-name/st/stylelint/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Web development packages](https://pkg.so/zh-hans/web-dev-tools/) - Matched curated package taxonomy and local package facts.
- [stylelint](https://pkg.so/zh-hans/brew/stylelint/) - Same normalized package name appears in another local ecosystem. Shared terms: cli, css, developer, developer-tools, linter.
- [stylelint-config-prettier-scss](https://pkg.so/zh-hans/npm/stylelint-config-prettier-scss/) - Package names and metadata indicate a similar tool family. Shared terms: cli, css, developer, developer-tools, lint.
- [eslint](https://pkg.so/zh-hans/npm/eslint/) - Local package facts share a topical domain. Shared terms: cache, cli, debug, developer, developer-tools.
- [stylelint](https://pkg.so/zh-hans/brew/stylelint/) - Same normalized package name exists in another local package ecosystem.

## 来源

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
