# Install replace-in-file with npm

A simple utility to quickly replace text in one or more files. Version 8.4.0 via npm; verified 2025-12-04.

## Install

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

Additional install commands:

### Portable and language managers

- npm (100%):

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

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:replace-in-file
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/replace-in-file>
- **Version:** 8.4.0
- **Source summary:** A simple utility to quickly replace text in one or more files.
- **Homepage:** <https://github.com/adamreisnz/replace-in-file#readme>
- **Repository:** <https://github.com/adamreisnz/replace-in-file>
- **Upstream docs:** <https://github.com/adamreisnz/replace-in-file#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/replace-in-file/-/replace-in-file-8.4.0.tgz>
- **Issue tracker:** <https://github.com/adamreisnz/replace-in-file/issues>
- **Published:** 2025-12-04T23:13:30.706Z
- **Last updated:** 2025-12-04T23:13:30.706Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- replace-in-file (cli)
- replace-in-file (alias)

## Dependencies

- chalk
- glob
- yargs

## Build dependencies

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

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 8.4.0
- Package-manager updated: 2025-12-04
- Local data: ok
- Upstream repository: https://github.com/adamreisnz/replace-in-file
- notice: The package-manager record has not changed recently.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for replace-in-file. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **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


## Related links

- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [replace-in-files-cli](https://www.automicvault.com/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/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/pkg/npm/projen/) - Local package facts share a topical domain. Shared terms: chalk, cli, cli-tools, developer, developer-tools.

## Sources

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