/ Search - type / Modes - type M Star on GitHub - 5.7k

dotenvx del

KEY -f

Delete a key from another .env file.

Usage

$ echo "HELLO=production" > .env.production

dotenvx del HELLO -f .env.production
◇ removed HELLO (.env.production)