dotenvx is an enhanced environment variable loader and manager that builds on the original dotenv concept by adding strong encryption and cross-platform tooling, making it safer to work with .env files in development and production environments. Designed by the creator of the classic dotenv library, dotenvx preserves the familiar workflow while adding safeguards against one of the biggest risks with plain environment files: plaintext secrets exposure. It offers CLI commands that can encrypt and decrypt .env files, inject environment variables at runtime, and support conventions like layered environment file loading similar to Next.js or dotenv-flow. Beyond basic runtime usage, dotenvx includes tooling for key management, listing .env files in structured views, and operations like variable rotation and scoped overrides, bringing more robust secrets handling to modern app stacks.

Features

  • Encrypt and decrypt .env files securely
  • Cross-platform CLI with familiar dotenv-style usage
  • Multi-environment and layered file support
  • Runtime injection of environment variables
  • Key management and rotation tooling
  • Integration with existing JS/TS workflows

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow dotenvx

dotenvx Web Site

Other Useful Business Software
Create a personalized AI chatbot for each team in minutes Icon
Create a personalized AI chatbot for each team in minutes

Get better, faster answers for your whole team with an AI chatbot trained on your company documents.

QueryPal is the lifeline your team needs. Our AI chatbot integrates seamlessly with your communication channels, using advanced language understanding to identify and auto-answer repetitive questions — in seconds.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of dotenvx!

Additional Project Details

Operating Systems

Windows

Programming Language

JavaScript

Related Categories

JavaScript Command Line Tools

Registered

2026-01-23