dotenvx's 2802-line llms.txt shows what thorough AI preparation looks like
[](https://dotenvx.com)
This implementation of dotenvx showcases a robust approach to environment variable management, emphasizing security and cross-platform functionality. Readers can gain insights into how to seamlessly integrate dotenvx into their applications, ensuring a secure and efficient development process.
Key Insights
Comprehensive structure
With 9 distinct sections, this file provides thorough coverage for AI systems.
Comprehensive detail
2802 lines of thorough documentation for AI systems.
Two-file approach
Uses both llms.txt and llms-full.txt for different AI use cases.
llms.txt Preview
First 100 lines of 2,802 total
[](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" > .envdotenvx is set up. Is yours?
Check your AI readiness in 30 seconds. See who AI recommends in your space. Free score, free account for the fixes.
1000+ sites already set up
dotenvx is ready for AI. Are you?
Check your AI readiness score in 30 seconds. Free score, free account for the fixes. Then generate your own llms.txt and start tracking your visibility.