# What changed in dotenv-cli

> 2 changes in dotenv-cli 6 to 8 from its official release notes, upgrade guides and advisories: 1 breaking. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/npm/dotenv-cli/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## dotenv-cli 8

### Behavior and default changes

- Config expansion is improved, though some configurations may break; the notes say upgrades are generally safe. (8.0.0) — [release notes](https://github.com/entropitor/dotenv-cli/releases/tag/v8.0.0)

## dotenv-cli 6

### Breaking changes

- .env.local now takes precedence over .env.development when using -c. (6.0.0) — [release notes](https://github.com/entropitor/dotenv-cli/releases/tag/v6.0.0)
