Browse topics
Installation
Get genesis-env installed and ready to use in your project.
Global install (recommended)
From any directory:
bash
npm i -g genesis-envFrom your project root (where .env.template will live):
bash
genv init
# edit .env.template
genv
genv validategenesis-env is the long-form alias and still works.
Local project dependency
If you prefer a project-scoped install:
bash
npm i genesis-envRun genv from the project root after install.
Verify installation
bash
genv --versionYou should see 1.2.2 printed to your terminal.
Or run without installing: npx genesis-env
Next steps
- Read the Commands reference for
init,generate,validate, and flags. - Try the Playground to experiment with templates in the browser.
- See Templates &
.envfor how template files relate to your local.env.