Installation & Auth
Installation
Install the @dlazy/cli npm package.
@dlazy/cli is a single npm package that ships the dlazy binary.
Install
# Global CLI (adds `dlazy` to PATH)
npm install -g @dlazy/cli
# Project-local (run via `npx dlazy ...`)
npm install @dlazy/cli
# or:
pnpm add @dlazy/cli
yarn add @dlazy/cliOne-shot Use
npx @dlazy/cli@1.2.0 --help
npx @dlazy/cli@1.2.0 gpt-image-2 --prompt "a watercolor of a tea house"Runtime Requirements
- Node.js ≥ 18 (the build targets
node18;fetchand async iterators are required). - Outbound network access to
https://dlazy.com(or your own--base-url). - A dLazy account with API key — see Authentication.
Verify
dlazy --version
dlazy --help
dlazy tools list