Desktop App Security & Privacy ★ 5,884 stars on GitHub

dotenvx

Encrypt sensitive settings files so you can safely store them alongside your code in version control without risking leaks.

Download (checksums.txt)

Guide and Overview

What it does in plain English

This tool lets you lock away confidential passwords and settings inside standard configuration files using robust, industry-standard cryptography. Once locked, you can safely store these files online with your project code without exposing your private information. When your application runs, it instantly unlocks and reads the settings on the fly so everything works seamlessly.

Who it’s for

  • Software creators and hobbyists who want an easy way to manage private settings across different computers.
  • Teams collaborating on shared code who need a secure method to distribute passwords and access keys without clumsy messaging apps.
  • Developers looking for a universal secret manager that works across various programming languages and operating systems.

Key features

  • Turns plain-text configuration files into unreadable ciphertext with simple commands.
  • Uses battle-tested mathematical encryption proven by financial networks for decades.
  • Integrates smoothly into version control so configuration travels right alongside your project files.
  • Works seamlessly with popular password managers and script runners without extra hassle.

How to install (Download)

You can set up the command-line tool using various methods depending on your operating system:

  • Windows: Run winget install dotenvx in your terminal.
  • Mac / Linux: Run curl -sfS https://dotenvx.sh | sh or use Homebrew via brew install dotenvx.
  • Node.js Projects: Install locally with npm install @dotenvx/dotenvx --save or globally with npm i -g @dotenvx/dotenvx.
  • Release Verification Files: Download the official verification assets from Download (checksums.txt) and Download (install.sh).

Pros and Cons

  • Pros: Keeps passwords out of plain sight, works with almost any programming language, and eliminates risky manual secret sharing.
  • Cons: Requires a basic understanding of terminal commands and proper key management to prevent permanent lockouts.

Optional commercial services unrelated to the open-source developer. Clicking an #ad link helps fund HubHum at no extra cost to you.

  • ★ Top Recommended — PureVPN: Encrypt connections on public Wi-Fi and safeguard private file transfers with high-speed zero-log VPN servers — Activate PureVPN → (#ad)
  • AdGuard: Block intrusive ads, tracking scripts, and phishing domains system-wide across all browsers and desktop apps — AdGuard (#ad)
  • FastestVPN: Lifetime encrypted VPN protection with built-in ad blocking and WireGuard servers for private browsing — FastestVPN (#ad)

Official Source & Credits: Official Source / Credits

Affiliate transparency (#ad): Some links on this page are affiliate links. If you choose to activate a service through them, we may earn a commission at no extra cost to you.

Your Saved Favorites

Your favorite apps are saved right here in this browser.


Sign in with one click to link your GitHub profile and sync favorites.