# react-native-macos-init

> CLI to add react-native-macos to an existing react-native project

Latest version **2.1.3** (published 2024-10-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-macos-init
pnpm add react-native-macos-init
yarn add react-native-macos-init
bun add react-native-macos-init
```

Provides the command `react-native-macos-init`.

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: no vulnerabilities; high maintenance score.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.1.3 |
| Published | 2024-10-15 |
| First published | 2020-04-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 20.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4401 |
| Maintainers | rnbot, microsoft1es |

## Links

- npm: https://www.npmjs.com/package/react-native-macos-init
- Repository: https://github.com/microsoft/react-native-macos
- Homepage: https://github.com/microsoft/react-native-macos#readme
- Issues: https://github.com/microsoft/react-native-macos/issues
- npm.io page: https://npm.io/package/react-native-macos-init

## Dependencies (7)

- [chalk](https://npm.io/package/chalk.md) ^3
- [yargs](https://npm.io/package/yargs.md) ^15.1.0
- [semver](https://npm.io/package/semver.md) ^7.5.2
- [find-up](https://npm.io/package/find-up.md) ^4.1.0
- [prompts](https://npm.io/package/prompts.md) ^2.3.0
- [valid-url](https://npm.io/package/valid-url.md) ^1.0.9
- [npm-registry-fetch](https://npm.io/package/npm-registry-fetch.md) ^14.0.0

## Recent versions

- 2.1.3 (latest) — 2024-10-15
- 2.1.2 — 2024-08-31
- 2.1.1 — 2024-08-30
- 2.1.0 — 2020-05-18
- 2.0.0 — 2020-04-05
- 1.0.0 — 2020-04-04

## README

# react-native-macos-init

CLI to bootstrap the addition of the macOS platform to `react-native` projects.

## Usage

Run this from an existing `react-native` project to install `react-native-macos` and generate initial project files for macOS.


Example usage
```
$ npx react-native init AwesomeProject
$ cd AwesomeProject
$ npx react-native-macos-init
```

Options:
| option       | description                                    | type      |
|--------------|------------------------------------------------|-----------|
| --help       | Show help                                      | [boolean] |
| --version    | The version of react-native-macos to use       | [string]  |
| --verbose    | Enables logging                                | [boolean] |
| --overwrite  | Overwrite any existing files without prompting | [boolean] |
| --prerelease | Install prerelease version without prompting   | [boolean] |

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