# @nestjs/config

> Nest - modern, fast, powerful node.js web framework (@config)

Latest version **12.0.0** (published 2026-08-27) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 65/100 (B)** — status: active.

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 12.0.0 |
| Published | 2026-08-27 |
| First published | 2019-12-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 4 |
| Unpacked size | 49 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 589 |
| Author | Kamil Mysliwiec |
| Maintainers | nestjscore, kamilmysliwiec |

## Links

- npm: https://www.npmjs.com/package/@nestjs/config
- Repository: https://github.com/nestjs/config
- Homepage: https://github.com/nestjs/config#readme
- Issues: https://github.com/nestjs/config/issues
- npm.io page: https://npm.io/package/@nestjs/config

## Dependencies (4)

- [dotenv](https://npm.io/package/dotenv.md) 17.4.2
- [es-toolkit](https://npm.io/package/es-toolkit.md) 1.51.0
- [dotenv-expand](https://npm.io/package/dotenv-expand.md) 13.0.0
- [@standard-schema/spec](https://npm.io/package/@standard-schema/spec.md) 1.1.0

## Recent versions

- 12.0.0 (latest) — 2026-08-27
- 12.0.0-next.0 (next) — 2026-06-01
- 4.0.4 — 2026-04-09
- 4.0.3 — 2026-02-04
- 4.0.2 — 2025-03-27
- 4.0.1 — 2025-03-03
- 4.0.0 — 2025-01-17
- 3.3.0 — 2024-10-21
- 3.2.3 — 2024-07-01
- 3.2.2 — 2024-04-05
- 3.2.1 — 2024-03-25
- 3.2.0 — 2024-02-07
- 3.1.1 — 2023-09-13
- 3.1.0 — 2023-09-12
- 3.0.1 — 2023-08-31
- … 48 more at https://npm.io/package/@nestjs/config/versions

## README

<p align="center">
  <a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="120" alt="Nest Logo" /></a>
</p>

[travis-image]: https://api.travis-ci.org/nestjs/nest.svg?branch=master
[travis-url]: https://travis-ci.org/nestjs/nest
[linux-image]: https://img.shields.io/travis/nestjs/nest/master.svg?label=linux
[linux-url]: https://travis-ci.org/nestjs/nest

  <p align="center">A progressive <a href="http://nodejs.org" target="blank">Node.js</a> framework for building efficient and scalable server-side applications.</p>
    <p align="center">
<a href="https://www.npmjs.com/~nestjscore"><img src="https://img.shields.io/npm/v/@nestjs/core.svg" alt="NPM Version" /></a>
<a href="https://www.npmjs.com/~nestjscore"><img src="https://img.shields.io/npm/l/@nestjs/core.svg" alt="Package License" /></a>
<a href="https://www.npmjs.com/~nestjscore"><img src="https://img.shields.io/npm/dm/@nestjs/core.svg" alt="NPM Downloads" /></a>
<a href="https://discord.gg/G7Qnnhy" target="_blank"><img src="https://img.shields.io/badge/discord-online-brightgreen.svg" alt="Discord"/></a>
<a href="https://opencollective.com/nest#backer"><img src="https://opencollective.com/nest/backers/badge.svg" alt="Backers on Open Collective" /></a>
<a href="https://opencollective.com/nest#sponsor"><img src="https://opencollective.com/nest/sponsors/badge.svg" alt="Sponsors on Open Collective" /></a>
  <a href="https://paypal.me/kamilmysliwiec"><img src="https://img.shields.io/badge/Donate-PayPal-dc3d53.svg"/></a>
  <a href="https://twitter.com/nestframework"><img src="https://img.shields.io/twitter/follow/nestframework.svg?style=social&label=Follow"></a>
</p>
  <!--[![Backers on Open Collective](https://opencollective.com/nest/backers/badge.svg)](https://opencollective.com/nest#backer)
  [![Sponsors on Open Collective](https://opencollective.com/nest/sponsors/badge.svg)](https://opencollective.com/nest#sponsor)-->

## Description

Configuration module for [Nest](https://github.com/nestjs/nest) based on the [dotenv](https://github.com/motdotla/dotenv) (to load process environment variables) package.

## Installation

```bash
$ npm i --save @nestjs/config
```

## Quick Start

[Overview & Tutorial](https://docs.nestjs.com/techniques/configuration)

## Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).

## Stay in touch

- Author - [Kamil Myśliwiec](https://twitter.com/kammysliwiec)
- Website - [https://nestjs.com](https://nestjs.com/)
- Twitter - [@nestframework](https://twitter.com/nestframework)

## License

Nest is [MIT licensed](LICENSE).

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