On this page
Kater CLI Make and compare new
kater new
Makes a new object in your Kater content: a workspace, a query, a chart, an app, a field, a test, a scratch file, a semantic model, a DB dataset or a Kater dataset.
Each kind has its own command, which takes only the options that work for that kind. kater new options lists where a new object can go, a free name, and what you can start it from. See Create commands.
Commands
| Command | What it does |
|---|---|
kater new dashboard | Make a dashboard: a workspace with its dashboard, from a type with --start. |
kater new workspace | Make a workspace over a shared model, with its dashboard. The same as kater new dashboard. |
kater new query | Make a query in a workspace, blank or from SQL. |
kater new chart | Make a chart from a query in your workspace. |
kater new app | Make an app from Kater’s starter page, or from a type with --start. |
kater new project | Make a project in your own projects folder, in one commit. |
kater new workflow | Make a workflow in your own folder, in one commit. |
kater new field | Make a field and preview it before it’s saved. |
kater new test | Make a test that checks one of a model’s answers. |
kater new scratch | Make a scratch file in your brainstorm folder. |
kater new semantic-model | Make a semantic model built on shared datasets. |
kater new db-dataset | Make a DB dataset that describes one warehouse table. |
kater new kater-dataset | Make a Kater dataset over one DB dataset. |
kater new options | List where a new object can go, its default name and what you can copy. |
Where it runs
The Kater MCP’s kater tool and the Files terminal run kater new workspace, query, chart, app, field, test and scratch. Run kater new semantic-model, db-dataset, kater-dataset and options in your own terminal.
Examples
# Go to a connection's folder in your local copy of Kater contentcd connections/snowflake_prod_connection# See where a new semantic model can go, and the models it can start fromkater new options semantic_model --scope modeling# See the file that a new semantic model would get, and write nothingkater new semantic-model --target-path modeling/kater_objects/semantic_models/marketing --name google_ads_campaigns --base kater_dataset.google_ads__campaign_report --dry-run# Make the spend_review workspace in your own folder, over the shared ad_reporting modelkater new workspace spend_review --connection snowflake_prod_connection --from-model semantic.ad_reporting# Add a blank query to the ad_reporting workspacekater new query --target-path workspaces/ad_reporting --name clicks_by_platform# Make a scratch file in the sandbox folder of your brainstorm folderkater new scratch --connection snowflake_prod_connection --folder sandbox