# dotenvx Secure Environment Variable Manager and Encryptor

> dotenvx is a secure, cross-platform environment variable manager from the creator of dotenv. It provides encrypted .env files, multi-environment support, and works with any programming language or framework through its CLI runner.

- Skill: `agentskillexchange/dotenvx-secure-environment-variable-manager-and-encryptor` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/dotenvx-secure-environment-variable-manager-and-encryptor`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/dotenvx-secure-environment-variable-manager-and-encryptor/raw
- Safety review: pending (external: skill-scanner PASS, skillspector CAUTION)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/dotenvx-secure-environment-variable-manager-and-encryptor

---


# dotenvx Secure Environment Variable Manager and Encryptor

dotenvx is a secure, cross-platform environment variable manager from the creator of dotenv. It provides encrypted .env files, multi-environment support, and works with any programming language or framework through its CLI runner.

## Installation

Use the upstream install or setup path that matches your environment:
- npm install @dotenvx/dotenvx --save
- npm i -g @dotenvx/dotenvx
- brew install dotenvx/brew/dotenvx
- docker run -it --rm -v $(pwd):/app dotenv/dotenvx encrypt

Requirements and caveats from upstream:
- require('@dotenvx/dotenvx').config()
- <details><summary>with docker 🐳</summary><br>
- [![docker pulls](https://img.shields.io/docker/pulls/dotenv/dotenvx)](https://hub.docker.com/r/dotenv/dotenvx)

Basic usage or getting-started notes:
- run anywhere (cross-platform)
- sh
- js

- Source: https://github.com/dotenvx/dotenvx
- Extracted from upstream docs: https://raw.githubusercontent.com/dotenvx/dotenvx/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/dotenvx-secure-env-variable-manager/)

