{
 "kind": "tool",
 "slug": "dotenv-expand",
 "path": "tools/dotenv-expand/",
 "name": "dotenv-expand",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Dev workflow and config",
   "tools/dev-workflow/"
  ]
 ],
 "lead": "Expand environment variables in dotenv files with variable substitution.",
 "chips": [
  {
   "label": "Dev workflow and config",
   "path": "tools/dev-workflow/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install dotenv-expand"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/dotenvx/dotenv-expand"
  },
  {
   "label": "Website",
   "href": "https://github.com/dotenvx/dotenv-expand#readme"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "BSD-3-Clause",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/dotenvx/dotenv-expand"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Oct 15, 2026",
   "note": "",
   "src": "https://github.com/dotenvx/dotenv-expand"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "13 projects",
   "status": "info",
   "sub": "#89 of 299 in its category",
   "note": "Dependency in 13 public GitHub projects set up for AI coding agents that we scanned (0.2%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What dotenv-expand does",
   "parts": [
    {
     "t": "prose",
     "text": "Expand environment variables in dotenv files with variable substitution."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "dotenv-expand popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "57",
       "of": "/ 100",
       "l": "Gid Score, #1235 overall"
      },
      {
       "n": "62.8M",
       "l": "downloads a week, npm"
      },
      {
       "n": "1,058",
       "l": "GitHub stars"
      },
      {
       "n": "13",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How dotenv-expand is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "dotenv-expand is a dependency in 13 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 33 projects, and what it is used with below comes from all of them.",
      "Projects that use it most often also use dotenv (93.9%), Testing Library (42.4%), ESLint (75.8%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "10 projects, 0.3%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "6 projects, 0.2%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "6 projects, 0.2%",
       "v": "Cursor",
       "path": "agents/cursor/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 93.9% of its projects",
       "v": "dotenv",
       "path": "tools/dotenv/"
      },
      {
       "l": "In 42.4% of its projects",
       "v": "Testing Library",
       "path": "tools/testing-library/"
      },
      {
       "l": "In 75.8% of its projects",
       "v": "ESLint",
       "path": "tools/eslint/"
      },
      {
       "l": "In 39.4% of its projects",
       "v": "Jest",
       "path": "tools/jest/"
      },
      {
       "l": "In 36.4% of its projects",
       "v": "pg",
       "path": "tools/pg/"
      },
      {
       "l": "In 51.5% of its projects",
       "v": "Vite",
       "path": "tools/vite/"
      },
      {
       "l": "In 33.3% of its projects",
       "v": "Sharp",
       "path": "tools/sharp/"
      },
      {
       "l": "In 63.6% of its projects",
       "v": "React",
       "path": "tools/react/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about dotenv-expand",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/motdotla",
        "Own page: https://www.dotenvx.com",
        "4 GitHub sponsors"
       ]
      },
      {
       "title": "More in Dev workflow and config",
       "path": "tools/dev-workflow/",
       "items": [
        {
         "text": "dotenv",
         "path": "tools/dotenv/"
        },
        {
         "text": "Husky",
         "path": "tools/husky/"
        },
        {
         "text": "python-dotenv",
         "path": "tools/python-dotenv/"
        },
        {
         "text": "lint-staged",
         "path": "tools/lint-staged/"
        },
        {
         "text": "concurrently",
         "path": "tools/concurrently/"
        },
        {
         "text": "Rich",
         "path": "tools/rich/"
        },
        {
         "text": "Pydantic Settings",
         "path": "tools/pydantic-settings/"
        },
        {
         "text": "cross-env",
         "path": "tools/cross-env/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "dotenv-expand",
       "me": true,
       "facts": [
        "BSD-3-Clause",
        "Gid 57",
        "62.8M/wk"
       ]
      }
     ],
     "more": "Compare dotenv-expand with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install dotenv-expand"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for dotenv-expand yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm dotenv-expand"
  ],
  [
   "Category",
   "Dev workflow and config"
  ],
  [
   "License",
   "BSD-3-Clause"
  ],
  [
   "Gid Score",
   "57.3"
  ],
  [
   "Rank in category",
   "#89 of 299"
  ],
  [
   "GitHub",
   "dotenvx/dotenv-expand"
  ],
  [
   "Last change",
   "Oct 15, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/dotenvx.png"
}