Agents Docs Pricing
Login
Documentation
Documentation navigation
  • Docs
    • Install
    • Quickstart
    • Advanced
  • CLI
    • Run
    • Encrypt
    • All CLI →
  • Custody
    • Local
    • Armor ⛨
    • All Custody →
  • SDKs
    • Node.js
    • Python
    • All SDKs →
  • Envfile
    • Strictness
    • Encryption
    • All Envfile →
  • Guides
    • Claude
    • Next.js
    • Docker
    • GitHub Actions
    • 1Password
    • All Guides →
  • Resources
    • .env
    • .env (encrypted)
    • Envfile Spec
    • Whitepaper ↗
    • All Resources →
Documentation / CLI / Get

Get

Return a single environment variable.

Usage

$ 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 -ik
  • get -ek
  • get --format shell
  • get --format colon
  • get --format eval
  • get --format eval-export
  • get --all
  • get --pretty-print
  • get --all --pretty-print
  • get --no-armor
  • get KEY --no-native
‹ --no-armor KEY ›

DOTENVX LLC

Dotenvx · Agents · Docs · Pricing · Corporate Involvement · Careers · Armor · Open Source · Changelog · Blog · Trust Center · Status · Contact · Whitepaper · GitHub · NPM · Search · Legal · Privacy · Terms · Twitter · Sitemap ·  · Log In

/