# @pnpm/config

> Gets configuration options for pnpm

Latest version **1004.11.0** (published 2026-03-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install @pnpm/config
pnpm add @pnpm/config
yarn add @pnpm/config
bun add @pnpm/config
```

## Health

**Score 75/100 (B)** — status: stable.

Positive: has types; esm support; no vulnerabilities; has provenance; high maintenance score; high quality score; popular repo.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1004.11.0 |
| Published | 2026-03-24 |
| First published | 2018-02-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18.12 |
| Dependencies | 27 |
| Unpacked size | 119.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 36783 |
| Maintainers | pnpmuser, zkochan |
| Keywords | pnpm, pnpm10, config |

## Links

- npm: https://www.npmjs.com/package/@pnpm/config
- Repository: https://github.com/pnpm/pnpm.git#main
- Homepage: https://github.com/pnpm/pnpm/tree/main/config/config#readme
- Issues: https://github.com/pnpm/pnpm/issues
- Funding: https://opencollective.com/pnpm
- npm.io page: https://npm.io/package/@pnpm/config

## Dependencies (27)

- [ramda](https://npm.io/package/ramda.md) npm:@pnpm/ramda@0.28.1
- [which](https://npm.io/package/which.md) npm:@pnpm/which@^3.0.1
- [ci-info](https://npm.io/package/ci-info.md) ^3.9.0
- [camelcase](https://npm.io/package/camelcase.md) ^6.3.0
- [is-subdir](https://npm.io/package/is-subdir.md) ^1.2.0
- [path-name](https://npm.io/package/path-name.md) ^1.0.0
- [is-windows](https://npm.io/package/is-windows.md) ^1.0.2
- [@pnpm/error](https://npm.io/package/@pnpm/error.md) 1000.1.0
- [@pnpm/types](https://npm.io/package/@pnpm/types.md) 1001.3.0
- [@pnpm/matcher](https://npm.io/package/@pnpm/matcher.md) 1000.1.0
- [path-absolute](https://npm.io/package/path-absolute.md) ^1.0.1
- [read-ini-file](https://npm.io/package/read-ini-file.md) 4.0.0
- [@pnpm/npm-conf](https://npm.io/package/@pnpm/npm-conf.md) 3.0.2
- [@pnpm/pnpmfile](https://npm.io/package/@pnpm/pnpmfile.md) 1002.1.13
- [camelcase-keys](https://npm.io/package/camelcase-keys.md) ^6.2.2
- [@pnpm/constants](https://npm.io/package/@pnpm/constants.md) 1001.3.1
- [@pnpm/git-utils](https://npm.io/package/@pnpm/git-utils.md) 1000.0.0
- [can-write-to-dir](https://npm.io/package/can-write-to-dir.md) ^1.1.1
- [lodash.kebabcase](https://npm.io/package/lodash.kebabcase.md) ^4.1.1
- [realpath-missing](https://npm.io/package/realpath-missing.md) ^1.1.0
- [better-path-resolve](https://npm.io/package/better-path-resolve.md) 1.0.0
- [@pnpm/catalogs.types](https://npm.io/package/@pnpm/catalogs.types.md) 1000.0.0
- [@pnpm/catalogs.config](https://npm.io/package/@pnpm/catalogs.config.md) 1000.0.6
- [normalize-registry-url](https://npm.io/package/normalize-registry-url.md) 2.0.1
- [@pnpm/config.env-replace](https://npm.io/package/@pnpm/config.env-replace.md) ^3.0.2
- [@pnpm/read-project-manifest](https://npm.io/package/@pnpm/read-project-manifest.md) 1001.2.6
- [@pnpm/workspace.read-manifest](https://npm.io/package/@pnpm/workspace.read-manifest.md) 1000.3.1

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 1004.11.0 (latest) — 2026-03-24
- 1004.11.7 (latest-10) — 2026-09-28
- 900.0.3 (latest-9) — 2025-01-13
- 0.0.0-20230605-20230605142810 (dev) — 2023-06-05
- 13.15.0 (latest-6) — 2022-08-03
- 11.2.4 (pnpm-temp) — 2020-08-16
- 8.2.1 (next) — 2020-04-09
- 3.0.0-1 (next-major) — 2019-03-04
- 1004.11.6 — 2026-07-10
- 1004.11.5 — 2026-06-18
- 1004.11.4 — 2026-06-11
- 1004.11.3 — 2026-06-10
- 1004.11.2 — 2026-05-27
- 1004.11.1 — 2026-05-06
- 1004.10.4 — 2026-03-11
- … 358 more at https://npm.io/package/@pnpm/config/versions

## README

# @pnpm/config

> Gets configuration options for pnpm

<!--@shields('npm')-->
[![npm version](https://img.shields.io/npm/v/@pnpm/config.svg)](https://www.npmjs.com/package/@pnpm/config)
<!--/@-->

## Installation

```sh
pnpm add @pnpm/config
```

## Usage

```ts
import { getConfig } from '@pnpm/config'

getConfig().then(pnpmConfig => console.log(pnpmConfig))
```

## License

MIT

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