DotenvxDotenvx
  • ▦ Documentation
  • ❯ CLI Reference
  • ƒ SDK Reference
DotenvxDotenvx
Log In
  • CLI Reference

    • Introduction
  • Commands

    • Run
    • Get
    • Set
    • Encrypt
    • Decrypt
    • Keypair
    • Ls
    • Gitignore
    • Genexample
    • Validate
    • Precommit
    • Prebuild
  • Professional Security

    • Lock ⊡›
    • Native ⌥›
    • Armor ⛨›
CLI Reference›Get

Get

Return a single environment variable.

$ dotenvx get HELLO
World

Options

  • get KEY
  • get KEY --mask
  • get KEY -f
  • get KEY -f directory
  • get KEY -fk
  • get KEY --env
  • get KEY --overload
  • get KEY --strict
  • get KEY --ignore
  • get KEY --convention=nextjs
  • get KEY -f directory --convention=nextjs
  • get KEY --convention=flow
  • get (json)
  • get --format shell
  • get --format colon
  • get --format eval
  • get --all
  • get --pretty-print
  • get --all --pretty-print
  • get --no-armor

Was this page helpful?

Run‹Previous
Set›Next
Follow us on XFollow us on GitHub