DOTENV(1)
β¨ DOTENV(1) β¨
okay bestie, sit down, hydrate, and let me tell you about dotenv β it's from a lil thing called dotenv-rust, and it's a User Commands situation, so it lives in your terminal, where all the best drama happens π
πΈ NAME πΈ
dotenv β aka dotenv-rust, the name on the birth certificate π
π¦ DESCRIPTION π¦
okay so picture this: you've got a .env file full of secrets and settings, and you wanna run a command with all that stuff already loaded into the environment. That's literally it. That's the whole gig.
dotenv runs a command using the environment in a .env file. no cap, that's the entire plot and it ate π₯
π USAGE: π
dotenv <COMMAND> [ARGS]...
so you give it a COMMAND, and then whatever ARGS that command needs, and dotenv handles the rest. it's giving personal assistant energy π«Ά
β¨ OPTIONS: β¨
-f,--file <FILE>β Use a specific.envfile (defaults to.env). so if you're not feeling the standard.envvibe today, you can point it at a whole different file. main character choice honestly π-h,--helpβ Prints help information. when you're lost and need the map, this is the map πΊοΈ-V,--versionβ Prints version information. for when you gotta know exactly which era of dotenv you're living in β
friendly reminder bestie: the default file is.envand that is only the default β the moment you pass-f/--file, you're overriding it. lowkey important, highkey obvious π
and that's the whole page, no crumbs left behind π
this was dotenv 0.15.0, dated May 2020 β yes she's a lil vintage, but vintage is iconic, and she still slays πβ¨ππ¦πΈπ π«Άππ₯ππβππππ§π
periodt. go run something π
π¦ where this page comes from
- ubuntu jammy: dotenv 0.15.0-2build1 Β· MIT
- ubuntu noble: dotenv 0.15.0-2build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms