dotenvx
2802 lines. dotenvx came to play.
Dotenvx is a secure dotenv solution crafted by the original creator of `dotenv`. It excels in cross-platform compatibility, multi-environment setups, and encrypted environment variables, making it a must-have for developers who prioritize security and flexibility in their projects.
Not sure yours is this good? Check it →
dotenvx's llms.txt Insights
Overachiever
9 sections. Most sites can barely manage 3. This one went all in.
War and Peace vibes
2802 lines. They really wanted AI to understand them.
Double trouble
Runs both llms.txt and llms-full.txt. Someone takes this seriously.
What's inside dotenvx's llms.txt
dotenvx's llms.txt contains 2 sections:
- Quickstart [](https://www.npmjs.com/package/@dotenvx/dotenvx) [](https://www.npmjs.com/package/@dotenvx/dotenvx) [](https://github.com/dotenvx/dotenvx/tree/main/tests)
- Run Anywhere
How does dotenvx's llms.txt compare?
| dotenvx | Directory Avg | Top Performer | |
|---|---|---|---|
| Lines | 2,802 | 1029 | 163,447 |
| Sections | 9 | 17 | 3207 |
Cool table. Now the real question — where do you land? Find out →
dotenvx's llms.txt preview
First 100 of 2,802 lines
[](https://dotenvx.com)
*a secure dotenv*–from the creator of [`dotenv`](https://github.com/motdotla/dotenv).
* run anywhere (cross-platform)
* multi-environment
* encrypted envs
[Read the whitepaper](https://dotenvx.com/dotenvx.pdf?v=README)
### Quickstart [](https://www.npmjs.com/package/@dotenvx/dotenvx) [](https://www.npmjs.com/package/@dotenvx/dotenvx) [](https://github.com/dotenvx/dotenvx/tree/main/tests)
Install and use it in code just like `dotenv`.
```sh
npm install @dotenvx/dotenvx --save
```
```js
// index.js
require('@dotenvx/dotenvx').config()
// or import '@dotenvx/dotenvx/config' // for esm
console.log(`Hello ${process.env.HELLO}`)
```
or install globally - *unlocks dotenv for any language, framework, or platform!*
<details><summary>with curl 🌐 </summary><br>
```sh
curl -sfS https://dotenvx.sh | sh
dotenvx help
```
[](https://github.com/dotenvx/dotenvx.sh/blob/main/install.sh)
</details>
<details><summary>with brew 🍺</summary><br>
```sh
brew install dotenvx/brew/dotenvx
dotenvx help
```
[](https://github.com/dotenvx/homebrew-brew/blob/main/Formula/dotenvx.rb)
</details>
<details><summary>with docker 🐳</summary><br>
```sh
docker run -it --rm -v $(pwd):/app dotenv/dotenvx help
```
[](https://hub.docker.com/r/dotenv/dotenvx)
</details>
<details><summary>with github releases 🐙</summary><br>
```sh
curl -L -o dotenvx.tar.gz "https://github.com/dotenvx/dotenvx/releases/latest/download/dotenvx-$(uname -s)-$(uname -m).tar.gz"
tar -xzf dotenvx.tar.gz
./dotenvx help
```
[](https://github.com/dotenvx/dotenvx/releases)
</details>
<details><summary>or windows 🪟</summary><br>
```sh
winget install dotenvx
dotenvx help
```
</details>
## Run Anywhere
```sh
$ echo "HELLO=World" > .envWhat is llms.txt?
llms.txt is an open standard that helps AI language models understand your website. By placing a structured markdown file at /llms.txt, websites provide AI search engines like ChatGPT, Claude, and Perplexity with a clear map of their content, services, and documentation. Companies like dotenvx use it to ensure AI accurately represents their brand when answering user queries. Read the spec.
dotenvx showed up. Where's yours?
1000+ companies didn't overthink it. 60 seconds. Go.
Check your site →