# 使用 npm 安装 replace-in-file

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

## 安装

```sh
sudo av install npm:replace-in-file
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g replace-in-file
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:replace-in-file
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/replace-in-file>
- **版本:** 8.4.0
- **来源摘要:** A simple utility to quickly replace text in one or more files.
- **主页:** <https://github.com/adamreisnz/replace-in-file#readme>
- **仓库:** <https://github.com/adamreisnz/replace-in-file>
- **上游文档:** <https://github.com/adamreisnz/replace-in-file#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/replace-in-file/-/replace-in-file-8.4.0.tgz>
- **问题跟踪器:** <https://github.com/adamreisnz/replace-in-file/issues>
- **发布时间:** 2025-12-04T23:13:30.706Z
- **最后更新:** 2025-12-04T23:13:30.706Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- replace-in-file (cli)
- replace-in-file (别名)

## 依赖

- chalk
- glob
- yargs

## 构建依赖

- @eslint/js
- c8
- chai
- chai-as-promised
- eslint
- mocha

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 8.4.0
- 管理器更新时间: 2025-12-04
- 本地数据: OK
- 上游仓库: https://github.com/adamreisnz/replace-in-file
- notice: The package-manager record has not changed recently.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 8.4.0
- **Version Count:** 83
- **Maintainers:** adamreisnz
- **Author:** Adam Reis
- **Publisher:** adamreisnz
- **Engines:** Node: >=18
- **Integrity:** sha512-D28k8jy2LtUGbCzCnR3znajaTWIjJ/Uee3UdodzcHRxE7zn6NmYW/dcSqyivnsYU3W+MxdX6SbF28NvJ0GRoLA==
- **Shasum:** 12f471122403eb7e6815bbc87828c1bec11440fc
- **Unpacked Size:** 87,423
- **File Count:** 0
- **Created At:** 2015-06-25T03:35:57.783Z
- **Latest Published At:** 2025-12-04T23:13:30.706Z
- **Modified At:** 2025-12-04T23:13:30.968Z


## 相关链接

- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [replace-in-files-cli](https://www.automicvault.com/zh-hans/pkg/npm/replace-in-files-cli/) - Package names and metadata indicate a similar tool family. Shared terms: cli, cli-tools, contents, developer, developer-tools.
- [replace](https://www.automicvault.com/zh-hans/pkg/npm/replace/) - Package names and metadata indicate a similar tool family. Shared terms: chalk, cli, cli-tools, developer, developer-tools.
- [projen](https://www.automicvault.com/zh-hans/pkg/npm/projen/) - Local package facts share a topical domain. Shared terms: chalk, cli, cli-tools, developer, developer-tools.

## 来源

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