Install @lakeql/cli as a development dependency. It is a build-time tool, not a runtime dependency.
pnpm add -D @lakeql/cliThis provides the lakeql-cli binary. Run it through your package manager:
pnpm lakeql-cli initIf you scaffolded with create-app, the CLI is already installed and a lakeql.config.ts already exists.
The CLI reads
lakeql.config.ts and connects to your data source, so it needs
your environment set. Pass
--env to load an env file
before the config is read.