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.
string
Organization ID (default: "")
string
Project ID (default: "")
string
Branch ID (default: "")
string
Database name (default: "")
boolean
Output in JSON format (default: false)
boolean
Print help information and exit

Global Flags

boolean
Print help information and exit