Skip to main content
The init command helps you set up a new Xata project in your current directory.

init

Link a project to the folder.
--organization
string
Organization ID (default: "")
--project
string
Project ID (default: "")
--branch
string
Branch ID (default: "")
--database
string
Database name (default: "")
--json
boolean
Output in JSON format (default: false)
-h, --help
boolean
Print help information and exit

Global Flags

-h, --help
boolean
Print help information and exit