{
 "kind": "tool",
 "slug": "dotenv-cli",
 "path": "tools/dotenv-cli/",
 "name": "dotenv-cli",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Dev workflow and config",
   "tools/dev-workflow/"
  ]
 ],
 "lead": "Command-line utility for loading environment variables from .env files when running commands.",
 "chips": [
  {
   "label": "Dev workflow and config",
   "path": "tools/dev-workflow/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install dotenv-cli"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/entropitor/dotenv-cli"
  },
  {
   "label": "Website",
   "href": "https://github.com/entropitor/dotenv-cli#readme"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/entropitor/dotenv-cli"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Oct 28, 2026",
   "note": "Latest GitHub release Oct 28, 2026. ",
   "src": "https://github.com/entropitor/dotenv-cli"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "72 projects",
   "status": "info",
   "sub": "#22 of 299 in its category",
   "note": "Dependency in 72 public GitHub projects set up for AI coding agents that we scanned (1.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-cli does",
   "parts": [
    {
     "t": "prose",
     "text": "Command-line utility for loading environment variables from .env files when running commands."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "dotenv-cli popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "55",
       "of": "/ 100",
       "l": "Gid Score, #1433 overall"
      },
      {
       "n": "9.9M",
       "l": "downloads a week, npm"
      },
      {
       "n": "603",
       "l": "GitHub stars"
      },
      {
       "n": "72",
       "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-cli is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "dotenv-cli is a dependency in 72 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (1.5% of the 4,867 JavaScript/TypeScript ones), #22 of 299 in dev workflow and config.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 142; those are left out of every share on this page.",
      "The most used alternative in our scan is cross-env (208 projects).",
      "Projects that use it most often also use TypeScript (87.5%), tsx (44.4%), lint-staged (30.6%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "45 projects, 1.4%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "44 projects, 1.8%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "32 projects, 1.1%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "13 projects, 2.8%",
       "v": "OpenAI Codex",
       "path": "agents/openai-codex/"
      },
      {
       "l": "10 projects, 2.1%",
       "v": "Gemini CLI",
       "path": "agents/gemini-cli/"
      },
      {
       "l": "7 projects, 2.0%",
       "v": "OpenCode",
       "path": "agents/opencode/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 87.5% of its projects",
       "v": "TypeScript",
       "path": "tools/typescript/"
      },
      {
       "l": "In 44.4% of its projects",
       "v": "tsx",
       "path": "tools/tsx/"
      },
      {
       "l": "In 30.6% of its projects",
       "v": "lint-staged",
       "path": "tools/lint-staged/"
      },
      {
       "l": "In 41.7% of its projects",
       "v": "dotenv",
       "path": "tools/dotenv/"
      },
      {
       "l": "In 26.4% of its projects",
       "v": "Turborepo",
       "path": "tools/turbo/"
      },
      {
       "l": "In 25.0% of its projects",
       "v": "ts-node",
       "path": "tools/ts-node/"
      },
      {
       "l": "In 44.4% of its projects",
       "v": "Vitest",
       "path": "tools/vitest/"
      },
      {
       "l": "In 30.6% of its projects",
       "v": "Testing Library",
       "path": "tools/testing-library/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about dotenv-cli",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "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": "chalk",
         "path": "tools/chalk/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "dotenv-cli",
       "me": true,
       "facts": [
        "MIT",
        "Gid 55",
        "9.9M/wk"
       ]
      },
      {
       "name": "cross-env",
       "why": "Set environment variables across Windows, Mac and Linux in npm scripts.",
       "path": "tools/cross-env/",
       "facts": [
        "MIT",
        "Gid 74",
        "36.9M/wk"
       ]
      }
     ],
     "more": "Compare dotenv-cli 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-cli"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for dotenv-cli yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm dotenv-cli"
  ],
  [
   "Category",
   "Dev workflow and config"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "55.1"
  ],
  [
   "Rank in category",
   "#22 of 299"
  ],
  [
   "GitHub",
   "entropitor/dotenv-cli"
  ],
  [
   "Last change",
   "Oct 28, 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/entropitor.png"
}