# 使用 npm 安装 swiftlint

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

## 安装

```sh
sudo av install npm:swiftlint
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g swiftlint
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:swiftlint
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/swiftlint>
- **版本:** 2.0.0
- **来源摘要:** Tiny SwiftLint wrapper for npm
- **主页:** <https://github.com/ionic-team/swiftlint#readme>
- **仓库:** <https://github.com/ionic-team/swiftlint>
- **上游文档:** <https://github.com/ionic-team/swiftlint#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/swiftlint/-/swiftlint-2.0.0.tgz>
- **问题跟踪器:** <https://github.com/ionic-team/swiftlint/issues>
- **发布时间:** 2024-09-19T15:11:53.222Z
- **最后更新:** 2024-09-19T15:11:53.222Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- node-swiftlint (cli)
- node-swiftlint (别名)

## 依赖

- @ionic/utils-fs
- @ionic/utils-subprocess
- cosmiconfig

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.0.0
- 管理器更新时间: 2024-09-19
- 本地数据: OK
- 上游仓库: https://github.com/ionic-team/swiftlint
- 警告: The package-manager record has not been updated in over a year.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 2.0.0
- **Version Count:** 8
- **Maintainers:** jcesarmobile, ionicjs, maxlynch
- **Author:** Ionic
- **Publisher:** jcesarmobile
- **Integrity:** sha512-MMVuyZ4/6WcIJlk0z6GM0pZjRuwnyUJqRPbJBFW3oACN/qjAvRbolCWEu+zE2MycF/cEgqfUpI+oLECNfjfOJA==
- **Shasum:** f08cd31793fc499c67b16fb6ea550af88e5ccb27
- **Unpacked Size:** 4,103
- **File Count:** 0
- **Created At:** 2020-07-10T23:53:08.643Z
- **Latest Published At:** 2024-09-19T15:11:53.222Z
- **Modified At:** 2024-09-19T15:11:53.413Z

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

- Nix - swiftlint: normalized package name match | nixpkgs package indexes: pkgs/by-name/sw/swiftlint/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - swiftlint - 0.63.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: swiftlint from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Tool to enforce Swift style and conventions | https://realm.github.io/SwiftLint/
- MacPorts - swiftlint: normalized package name match | MacPorts ports tree: devel/swiftlint/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Web development packages](https://www.automicvault.com/zh-hans/pkg/web-dev-tools/) - Matched curated package taxonomy and local package facts.
- [swiftlint](https://www.automicvault.com/zh-hans/pkg/brew/swiftlint/) - Same normalized package name appears in another local ecosystem. Shared terms: cli, developer, developer-tools, swiftlint.
- [lint-prepush](https://www.automicvault.com/zh-hans/pkg/npm/lint-prepush/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, cosmiconfig, developer, developer-tools, linting.
- [eslint-doc-generator](https://www.automicvault.com/zh-hans/pkg/npm/eslint-doc-generator/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, cosmiconfig, developer, developer-tools, linting.
- [swiftlint](https://www.automicvault.com/zh-hans/pkg/brew/swiftlint/) - Same normalized package name exists in another local package ecosystem.

## 来源

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
