# react-native-rename-config

> Rename react-native app with just one command and more

Latest version **3.2.21** (published 2025-05-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-rename-config
pnpm add react-native-rename-config
yarn add react-native-rename-config
bun add react-native-rename-config
```

Provides the command `react-native-rename`.

## Health

**Score 25/100 (F)** — status: maintenance-mode.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.2.21 |
| Published | 2025-05-26 |
| First published | 2022-12-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 10 |
| Unpacked size | 8.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Grzmot22 |
| Maintainers | grzmot22 |
| Keywords | react-native, ios, android, rename, renamer, react, space |

## Links

- npm: https://www.npmjs.com/package/react-native-rename-config
- Homepage: https://github.com/grzmot22/react-native-rename#readme
- Issues: https://github.com/grzmot22/react-native-rename/issues
- npm.io page: https://npm.io/package/react-native-rename-config

## Dependencies (10)

- [chalk](https://npm.io/package/chalk.md) ^5.3.0
- [dotenv](https://npm.io/package/dotenv.md) ^16.3.1
- [globby](https://npm.io/package/globby.md) ^13.2.0
- [cheerio](https://npm.io/package/cheerio.md) ^1.0.0-rc.12
- [shelljs](https://npm.io/package/shelljs.md) ^0.8.5
- [commander](https://npm.io/package/commander.md) ^10.0.1
- [update-check](https://npm.io/package/update-check.md) ^1.5.4
- [html-entities](https://npm.io/package/html-entities.md) ^2.4.0
- [normalize-path](https://npm.io/package/normalize-path.md) ^3.0.0
- [replace-in-file](https://npm.io/package/replace-in-file.md) ^7.0.1

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 3.2.21 (latest) — 2025-05-26
- 3.2.20 — 2023-05-10
- 3.2.19 — 2023-02-24
- 3.2.18 — 2023-02-24
- 3.2.17 — 2023-02-08
- 3.2.16 — 2023-02-08
- 3.2.15 — 2023-02-08
- 3.2.14 — 2023-02-08
- 3.2.13 — 2023-02-08
- 3.2.12 — 2023-02-08
- 3.0.0-alpha-15 — 2022-12-17
- 3.0.0-alpha-14 — 2022-12-17
- 3.0.0-alpha-13 — 2022-12-13
- 3.0.0-alpha-12 — 2022-12-13
- 3.0.0-alpha-11 — 2022-12-12
- … 7 more at https://npm.io/package/react-native-rename-config/versions

## README

# react-native-rename-config [![NPM version](https://img.shields.io/npm/v/react-native-rename-config.svg?style=flat)](https://www.npmjs.com/package/react-native-rename-config) [![NPM monthly downloads](https://img.shields.io/npm/dm/react-native-rename-config.svg?style=flat)](https://npm-stat.com/charts.html?package=react-native-rename-config) [![NPM total downloads](https://img.shields.io/npm/dt/react-native-rename-config.svg?style=flat)](https://npm-stat.com/charts.html?package=react-native-rename-config) [![Paypal Donate](https://img.shields.io/badge/paypal-donate-green.svg?style=flat)](https://www.paypal.me/grzmot22)

Rename react-native app with just one command and more

![react-native-rename-config](https://cloud.githubusercontent.com/assets/5106887/24444940/cbcb0a58-149a-11e7-9714-2c7bf5254b0d.gif)

> This package assumes that you created your react-native project using `react-native init` or `expo bare workflow`.

**Note:** This package does not attempt to properly rename build artifacts such as `ios/build` or Cocoa Pod installation targets. After renaming your project you should clean, build, and reinstall third party dependencies to get it running properly with the new name.

### Usage

```
npx react-native-rename-config@latest "new_name"

```

> With custom Bundle Identifier (or set environment variable called APP_NAME)

```
npx react-native-rename-config@latest "new_name" -b "bundle_identifier"
```

> With custom icon to replace

```
npx react-native-rename-config <newName> -i <configPath>
```

> With replace firebase config

```
npx react-native-rename-config <newName> --firebase-replace <configPath>
```

> Path tree for configPath

```
 .
└── configPath
    └── ios
        ├── GoogleService-Info.plist
        ├── icon
        │   └── AppIcon.appiconset
        └── android
            ├── google-services.json
            └── icon
                └── android
                    ├── mipmap-anydpi-v26
                    │   └── ic_launcher.xml
                    ├── mipmap-hdpi
                    │   ├── ic_launcher_background.png
                    │   ├── ic_launcher_foreground.png
                    │   ├── ic_launcher_monochrome.png
                    │   └── ic_launcher.png
                    ├── mipmap-mdpi
                    │   ├── ic_launcher_background.png
                    │   ├── ic_launcher_foreground.png
                    │   ├── ic_launcher_monochrome.png
                    │   └── ic_launcher.png
                    ├── mipmap-xhdpi
                    │   ├── ic_launcher_background.png
                    │   ├── ic_launcher_foreground.png
                    │   ├── ic_launcher_monochrome.png
                    │   └── ic_launcher.png
                    ├── mipmap-xxhdpi
                    │   ├── ic_launcher_background.png
                    │   ├── ic_launcher_foreground.png
                    │   ├── ic_launcher_monochrome.png
                    │   └── ic_launcher.png
                    └── mipmap-xxxhdpi
                        ├── ic_launcher_background.png
                        ├── ic_launcher_foreground.png
                        ├── ic_launcher_monochrome.png
                        └── ic_launcher.png

```

### Example

##### First, Switch to new branch (optional but recommended)

```
git checkout -b rename-app
```

##### Then, Rename your app

```
npx react-native-rename-config "Travel App"
```

> With custom Bundle Identifier

```
npx react-native-rename-config "Travel App" -b com.junedomingo.travelapp

```

### CLI Options

|                Name                | Description                                                                                                                                  |
| :--------------------------------: | -------------------------------------------------------------------------------------------------------------------------------------------- |
|    `-b` or `--bundleID` [value]    | Set custom bundle identifier for both ios and android eg. "com.example.app" or "com.example".                                                |
|      `--iosBundleID` [value]       | Set custom bundle identifier specifically for ios.                                                                                           |
|    `--androidBundleID` [value]     | Set custom bundle identifier specifically for android.                                                                                       |
| `-p` or `--pathContentStr` [value] | Path and content string that can be used in replacing folders, files and their content. Make sure it doesn't include any special characters. |
|       `--skipGitStatusCheck`       | Skip git repo status check                                                                                                                   |

### Local installation

With **Yarn**:

```
yarn global add react-native-rename-config
```

With **npm**:

```
npm install react-native-rename-config -g
```

### Support creator

<a href="https://www.buymeacoffee.com/junedomingo" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>

### Support me

<a href="https://www.buymeacoffee.com/grzmot22"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;"  target="_blank"></a>

---
_Source: https://npm.io/package/react-native-rename-config · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
