
Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag storeYes! There are actually a couple of options for initializing a Sanity project without creating all the Studio files:
--bare FlagAs of Sanity CLI v3.9.0 (April 2023), the sanity init command supports a --bare flag that does exactly what you're looking for:
sanity init --bareor with npm create:
npm create sanity@latest -- --bareWhat --bare does:
--env FlagThe same update also introduced the --env flag, which is useful when setting up environment variables:
sanity init --envThis flag:
.env file with the correct prefix for environment variables--env .env.local.exampleWhile the documentation doesn't explicitly cover using --bare with custom templates created via sanity-template, you can combine these approaches:
--bare to create just the project/datasetsanity projects create CommandFor even more control, you can use the sanity projects create command directly to create just a project without any Studio files at all, then set up your Studio or application separately.
These flags are particularly useful when you're integrating Sanity into an existing application, working with custom templates, or when you only need the Content Lake capabilities without a full Studio setup.
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.
Content operations
Content backend


The only platform powering content operations
By Industry


Tecovas strengthens their customer connections
Build and Share

Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag store