Snowflake Apps CLI commands¶
The Snowflake CLI provides snow app subcommands for creating, deploying, and
managing Snowflake App Runtime projects. When you build with
Cortex Code CLI or
Cortex Code Desktop, the bundled
snowflake-apps
skill runs snow app commands for you as you scaffold, deploy, or manage apps from chat.
snow app commands support both Snowflake Native Apps and Snowflake App Runtime.
The CLI selects the correct flow automatically.
Use the latest Snowflake CLI. Confirm with
snow helpers check-version.
If that command isn’t recognized, upgrade before you rely on app.yml. An older
CLI ignores the deployment keys in app.yml and still expects snowflake.yml.
For Snowflake App Runtime, use app.yml.
Named targets are optional; pass --target only when the file defines them.
Native App projects use snowflake.yml; see
snow app commands.
If the project still has a snowflake-app entity, see
Migrate from snowflake.yml to app.yml.
These pages document the Snowflake App Runtime behavior of each command.
Project definition¶
For the structure of app.yml, see the
app.yml reference.
Project setup¶
- snow app setup: Initialize an
app.ymlfor a new Snowflake App Runtime project
Deployment¶
- snow app deploy: Upload source, build remotely, and create or alter the Application Service
- snow app bundle: Copy resolved artifacts into a local output directory for inspection
- snow app validate: Check that the project can be bundled and the target database and schema exist
Lifecycle management¶
- snow app open: Open the deployed app in a browser
- snow app events: Fetch recent container logs
- snow app teardown: Drop the Application Service and clean up associated objects