{"id":14007118,"url":"https://github.com/itsbrex/vercel-env-create","last_synced_at":"2026-01-19T10:33:47.056Z","repository":{"id":82084412,"uuid":"606278066","full_name":"itsbrex/vercel-env-create","owner":"itsbrex","description":"Auto-generate and maintain your project's .env files","archived":false,"fork":false,"pushed_at":"2023-12-15T08:20:38.000Z","size":98,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T17:16:27.212Z","etag":null,"topics":["cli","env","env-file","environment","environment-variables","nextjs","push","vercel"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itsbrex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-02-25T02:34:37.000Z","updated_at":"2023-09-15T19:03:11.000Z","dependencies_parsed_at":"2023-12-15T09:39:47.979Z","dependency_job_id":null,"html_url":"https://github.com/itsbrex/vercel-env-create","commit_stats":{"total_commits":25,"total_committers":1,"mean_commits":25.0,"dds":0.0,"last_synced_commit":"97835325bcd72778ea64c08d987d539056a22b68"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsbrex%2Fvercel-env-create","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsbrex%2Fvercel-env-create/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsbrex%2Fvercel-env-create/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsbrex%2Fvercel-env-create/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsbrex","download_url":"https://codeload.github.com/itsbrex/vercel-env-create/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247249549,"owners_count":20908212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","env","env-file","environment","environment-variables","nextjs","push","vercel"],"created_at":"2024-08-10T10:01:50.303Z","updated_at":"2026-01-19T10:33:47.028Z","avatar_url":"https://github.com/itsbrex.png","language":"TypeScript","funding_links":["https://github.com/sponsors/itsbrex"],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eVercel Env Create 🛠️\u003c/h1\u003e\n  \u003cp\u003eThe missing \u003ccode\u003evercel env create\u003c/code\u003e command\u003c/p\u003e\n  \u003cp\u003e\n    \u003ca href=\"https://github.com/itsbrex/vercel-env-create\" title=\"Screenshot of vercel-env-create\"\u003e\n      \u003cimg alt=\"Screenshot of vercel-env-create\" src=\"https://socialify.git.ci/itsbrex/vercel-env-extract/image?description=1\u0026descriptionEditable=Auto-generate%20and%20maintain%20your%20project%27s%20.env%20files\u0026name=1\u0026owner=1\u0026pattern=Solid\u0026stargazers=1\u0026theme=Auto\" width=\"600\" /\u003e\n    \u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/itsbrex/vercel-env-create/actions/workflows/integration.yml\"\u003e\n    \u003cimg alt=\"Integration Status\" src=\"https://github.com/itsbrex/vercel-env-create/actions/workflows/integration.yml/badge.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/itsbrex/vercel-env-create/blob/main/LICENSE\"\u003e\n    \u003cimg alt=\"License\" src=\"https://badgen.net/github/license/itsbrex/vercel-env-create\" /\u003e\n  \u003c/a\u003e\n  \u003cbr /\u003e\n\u003c/div\u003e\n\u003cp\u003e\n\nEasily manage your local and Vercel deployment environment variables for `local`, `development`, `preview`, and `production`.\n\n`vercel-env-create` is a Node.js script that scans your project for all referenced `process.env` variables and creates separate `.env` files each environment in the root of your project's directory.\n\nThis makes it easy to manage your local development and test environments, as well as each of your Vercel deployment environments (`development`, `preview`, and `production`).\n\n## Installation\n\nYou can install this package using `npm`:\n\n```bash\nnpm install -g vercel-env-create\n```\n\n## Usage\n\nIf you installed globally, you can use it in your project directory like this to either create or update your .env files with all of the variables used in your project:\n\n```bash\nvercel-env-create\n```\n\nOr you can install via `npx`:\n\n```bash\nnpx vercel-env-create\n```\n\nBy default, the script will look for environment variables in files with the following extensions: `.js`, `.ts`, `.jsx`, `.tsx`, `.html`, and `.css`. You can add additional file extensions to search for by modifying the `extensions` array in the script.\n\nThe script will create the following .env files in your project directory:\n\n- `.env` - for your default environment\n- `.env.local` - for your local development environment\n- `.env.development` - for your development environment\n- `.env.production` - for your production environment\n\nThis makes it easy to manage separate environment variables for each environment and ensures that all environment variables in your project are appropriately defined.\n\n## Contributing\n\nContributions are welcome! If you find a bug or have a suggestion for improvement, please [open an issue](https://github.com/itsbrex/vercel-env-create/issues) or [submit a pull request](https://github.com/itsbrex/vercel-env-create/pulls).\n\n## Support\n\nIf you found this project interesting or helpful, please consider [sponsoring me](https://github.com/sponsors/itsbrex) or following me [on twitter](https://twitter.com/itsbrex). \u003cimg src=\"https://storage.googleapis.com/saasify-assets/twitter-logo.svg\" alt=\"twitter\" height=\"24px\" align=\"center\"\u003e\u003c/a\u003e\n\n## License\n\nLicensed under the [MIT](https://github.com/itsbrex/vercel-env-create/blob/main/LICENSE) License.\n\n## Thanks\n\nShoutout to [HiDeoo](https://github.com/HiDeoo) for his work on [`vercel-env-push`](https://github.com/HiDeoo/vercel-env-push) and his [`create-app`](https://github.com/HiDeoo/create-app) CLI tool that this project was bootstrapped with. 🙏\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsbrex%2Fvercel-env-create","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsbrex%2Fvercel-env-create","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsbrex%2Fvercel-env-create/lists"}