Get started
Try it, without a database
In a clone of the repository:
npm ci
npx tsx modules/cli.ts try --year 2023The core and the solar module start in a Postgres in memory, compute the yield of a family home for a year and print it month by month, with what it was computed from. Nothing is kept.
Install it on your database
On an empty Supabase project with PostGIS enabled:
export NEXGEN_DB_URL='postgresql://…'
npx tsx modules/cli.ts init --dry-run
npx tsx modules/cli.ts init --packs <country code>
npx tsx modules/cli.ts doctorinit installs the core, every module and the country packs you choose; doctor checks the result. Installing in one line from npm is (next).
Explore
- Seven example projects: a house with PV and a battery, a school, an energy community, a farm, a district, a drone survey, an office.
- Give the model to your AI agent: AI agents.
- Every command: the command line README.