Grafbase CLI

The Grafbase CLI provides a fully working local Grafbase environment, without the need to install Docker.

You can use the init command to initialize a new Grafbase project:

npx grafbase init

Use the dev command to start the server locally at http://localhost:4000:

npx grafbase dev

The Grafbase CLI can be installed globally using NPM, Yarn, Cargo, or as a binary.

npm install -g grafbase
Was this page helpful?