DOTENV-LINTER(1)

πŸ“¦ version 4.0.0, in ubuntu stonking

πŸ’… DOTENV-LINTER β€” the manual page, but make it cute

okay bestie, welcome to the dotenv-linter(1) page, aka the user commands corner of the docs, and honestly? you're gonna eat this up πŸ“


✨ NAME ✨

dotenv-linter β€” a lightning-fast linter for .env files. yes that's the whole vibe, she's fast, she's focused, she's iconic πŸ’–


🌸 SYNOPSIS 🌸

dotenv-linter [OPTIONS] [COMMAND] [PATHS...]

that's it. that's the incantation. [OPTIONS], then an optional [COMMAND], then however many [PATHS...] you feel like throwing at her 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

so like. dotenv-linter can check, fix, and diff your .env files for problems that may cause applications to malfunction 😭 β€” like, the kind of stuff that has you staring at your terminal at 2am going "why is it broken".

she's written in Rust, and she is designed to be literally lightning-fast ⚑ no cap.


πŸ‘‘ COMMANDS πŸ‘‘

  • check β€” checks the .env files in the specified paths for problems. ✨ this is the default action, so if you don't pick a command, this is the one that shows up. main character energy, honestly.
  • fix β€” automatically fixes the found warnings πŸ› οΈ. she backs up your original files before modification, because she's thoughtful like that πŸ’–
  • diff β€” compares two .env files with each other and outputs the difference between them πŸ”

πŸ’€ CHECKS PERFORMED πŸ’€

the linter runs a whole little gauntlet of checks, and here's every single one of them, no skipping:

  • Duplicated key
  • Ending blank line
  • Extra blank line
  • Incorrect delimiter
  • Key without value
  • Leading character
  • Lowercase key
  • Quote character
  • Schema violation
  • Space character
  • Substitution key
  • Trailing whitespace
  • Unordered key
  • Value without quotes

that's fourteen checks bestie. she is thorough. πŸ’…


πŸ”₯ OPTIONS πŸ”₯

  • for a full list of options, run dotenv-linter --help in your terminal ✨
fr fr, the manpage is keeping it mysterious β€” the real options live behind --help. go ask her directly, she'll tell you everything πŸŽ€

πŸŽ€ AUTHOR πŸŽ€

this manual page was written by Ching He <heqing@rool.me> for the Debian project 🫢


and that's the whole page bestie!! 🌈

sign-off time: this is dotenv-linter 4.0.0, dated 2026-06-16, and that's the version + date energy we're closing on πŸ’œ slay, go lint something, ily πŸ‘‘βœ¨

πŸ“¦ where this page comes from