百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
R

react-native-rename

> 前端框架
开源

只需一条命令即可重命名 react-native 应用

2.8K stars0 点赞2 次浏览
访问官网GitHub

工具介绍

只需一条命令即可重命名 react-native 应用

react-native-rename

Rename react-native app with just one command

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.

React Native version support

The actively tested support window is React Native 0.77+.

This package is tested against React Native 0.77.1, 0.81.6, and 0.85.3. Older React Native versions may still work, but they are best effort and are not part of the active test matrix. If you need support for an older version, please open an issue with a reproducible fixture or sample project.

This package requires Node.js 20.19.0 or newer.

Usage

$ npx react-native-rename@latest "new_name"

With custom Bundle Identifier

$ npx react-native-rename@latest "new_name" -b "bundle_identifier"

Example

First, Switch to new branch (optional but recommended)
$ git checkout -b rename-app
Then, Rename your app
$ npx react-native-rename "Travel App"

With custom Bundle Identifier

$ npx react-native-rename "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

With npm:

$ npm install react-native-rename -g

Support

GitHub Issues· 0 开放

在 GitHub 查看全部

暂无开放 Issues,或尚未同步最近议题。

核心特点

  • •JavaScript
  • •cli
  • •react-native
  • •react-native-rename
  • •rename

> 标签

JavaScriptclireact-nativereact-native-renamerename

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架