DotenvxDotenvx
  • ▦ Documentation
  • ❯ CLI Reference
  • ƒ SDK Reference
DotenvxDotenvx
Log InGet Started
  • CLI Reference

    • Introduction
  • Commands

    • Run
    • Get
    • Set
    • Encrypt
    • Decrypt
    • Rotate
    • Keypair
  • Advanced

    • Armor ⛨›
    • Ext
  • Hidden

    • Doctor
CLI Reference›Get

Get

Return a single environment variable.

$ dotenvx get HELLO
World

Advanced

  • get KEY
  • get KEY -f
  • get KEY -fk
  • get KEY --env
  • get KEY --overload
  • get KEY --strict
  • get KEY --ignore
  • get KEY --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