# @react-native-community/cli-config-apple

> This package is part of the [React Native CLI](../../README.md). It contains utilities for building reusable commands targeting Apple platforms.

Latest version **20.2.0** (published 2026-06-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install @react-native-community/cli-config-apple
pnpm add @react-native-community/cli-config-apple
yarn add @react-native-community/cli-config-apple
bun add @react-native-community/cli-config-apple
```

## Health

**Score 60/100 (C)** — status: active.

Positive: has types; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 20.2.0 |
| Published | 2026-06-25 |
| First published | 2024-10-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 83.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2935 |
| Maintainers | bartoszklonowski, titozzz, empyrical, cpojer, mattoakes, ferrannp, mike866, krizzu, trensik, thymikee, nicholaslee119, mmazzarolo, rewieer, janicduplessis, swaagie, kelset, johandutoit, vonovak, wojteg1337, naturalclar, connectdotz, pvinis, brentvatne, evanbacon, eliwhite, simek, alloy, cortinico, safaiyeh, dmitryrykun, lunaleaps, wootwootwoot, react-native-bot, szymonrybczak, react-native-community-bot, okwasniewski |

## Links

- npm: https://www.npmjs.com/package/@react-native-community/cli-config-apple
- Repository: https://github.com/react-native-community/cli
- Homepage: https://github.com/react-native-community/cli/tree/main/packages/cli-config-apple
- Issues: https://github.com/react-native-community/cli/issues
- npm.io page: https://npm.io/package/@react-native-community/cli-config-apple

## Dependencies (4)

- [execa](https://npm.io/package/execa.md) ^5.0.0
- [fast-glob](https://npm.io/package/fast-glob.md) ^3.3.2
- [picocolors](https://npm.io/package/picocolors.md) ^1.1.1
- [@react-native-community/cli-tools](https://npm.io/package/@react-native-community/cli-tools.md) 20.2.0

## Recent versions

- 20.2.0 (latest) — 2026-06-25
- 17.0.1 (17.x) — 2025-11-05
- 18.0.1 (18.x) — 2025-11-05
- 19.1.2 (19.x) — 2025-11-05
- 20.0.0-alpha.2 (next) — 2025-07-24
- 16.0.3 (16.x) — 2025-04-17
- 20.1.3 — 2026-03-24
- 20.1.2 — 2026-02-24
- 20.1.1 — 2026-01-28
- 20.1.0 — 2026-01-07
- 20.0.2 — 2025-09-09
- 20.0.1 — 2025-08-20
- 20.0.0 — 2025-08-11
- 19.1.1 — 2025-07-24
- 19.1.0 — 2025-07-09
- … 15 more at https://npm.io/package/@react-native-community/cli-config-apple/versions

## README

# @react-native-community/cli-config-apple

This package is part of the [React Native CLI](../../README.md). It contains utilities for building reusable commands targeting Apple platforms.

## Installation

```sh
yarn add @react-native-community/cli-config-apple
```

## Usage

This package is intended to be used internally in [React Native CLI](../../README.md) and by out of tree platforms.

`cli-config-apple` exports utilities to create OOT platform config for autolinking.

- `getProjectConfig()` - creates project config for given platform
- `getDependencyConfig()` - creates dependency config for given platform

Example (`<oot-platform>/packages/react-native/react-native.config.js`):

```js
platforms: {
    visionos: {
      npmPackageName: '@callstack/react-native-visionos',
      projectConfig: getProjectConfig({platformName: 'visionos'}),
      dependencyConfig: getDependencyConfig({platformName: 'visionos'}),
    },
    ..
  },
```

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