Build your app
Run and grow it
Inside Studio
Developer or agency? The developer platform, Milo CLI and Appbrew MCP are under Developers.Developers →
By business
By goal
Build
Docs
Milo CLI
Pull your app’s screens as JSON, change them on a draft, publish on a yes.
Comes with the Enterprise plan. Compare plans
MILO_PROFILE=external pnpm exec milo setup --targets claude-code,codex --yesLive appShoppers see this
DraftYou work here
milo config pull · theme create · theme preview · config commit · theme prepublish · bundle release · integration setup · push test · analytics query · auth switch · skills sync · files upload · config diff · theme use · app preflight · bundle build · shopify query · config restore-release
miloCLI
Scroll to run the session
meadow-goods % milo theme create "Black Friday"
{
"id": "theme_bf24kq",
"name": "Black Friday",
"baseThemeId": "theme_9xlive"
}
meadow-goods % milo theme use theme_bf24kq
{
"activeTheme": "theme_bf24kq",
"sessionRefreshed": false
}
meadow-goods % milo config pull | jq '.pulled | length'
16
meadow-goods % code .milo/sync/theme_bf24kq/draft/screens/home.json
meadow-goods % milo config commit screens home
{
"theme": "theme_bf24kq",
"committed": {
"kind": "screens",
"entityId": "home",
"version": "32",
"created": false
},
"warnings": []
}
meadow-goods % milo theme preview | jq -r .previewUrl
https://preview.appbrew.tech/bf24kq
meadow-goods % milo theme prepublish | jq '{themeName, message}'
{
"themeName": "Black Friday",
"message": "Updates the home screen with a new Black Friday banner."
}
meadow-goods %
Claude Code v2.1.287
Opus 5.5 · Claude Max
~/meadow-goods
❯ Make a Black Friday draft with a new home banner, then send me a preview.
⏺ Bash(milo theme create "Black Friday")
⎿{
"id": "theme_bf24kq",
… +3 lines (ctrl+o to expand)
⏺ Bash(milo theme use theme_bf24kq && milo config pull)
⎿{
"activeTheme": "theme_bf24kq",
… +98 lines (ctrl+o to expand)
⏺ Read(.milo/sync/theme_bf24kq/draft/screens/home.json)
⎿Read 214 lines
⏺ Update(.milo/sync/theme_bf24kq/draft/screens/home.json)
⎿Updated .milo/sync/theme_bf24kq/draft/screens/home.json with 2 additions and 2 removals
⏺ Bash(milo config commit screens home)
⎿{
"theme": "theme_bf24kq",
… +8 lines (ctrl+o to expand)
⏺ Bash(milo theme preview)
⎿{
"themeId": "theme_bf24kq",
… +4 lines (ctrl+o to expand)
⏺Your “Black Friday” draft has the new home banner. Open https://preview.appbrew.tech/bf24kq on your phone to see the draft. Your live app is unchanged.
Want me to publish it? I’ll show you what shoppers will see before anything goes live.
✢ Brewing… (0s · ↓ 0 tokens)
✻ Brewed for 52s · done 9:41 AM
◐ medium · /effort
❯
? for shortcuts
milo theme createA draft, cloned from your live theme. Shoppers see none of it.milo config pullEvery screen arrives as JSON your agent can read and edit.milo config commitYour change saves to the draft, one screen at a time.milo theme previewOne link opens the draft on your phone.milo theme prepublishA plain summary for whoever says yes. You publish after it.For coding agents
One command adds a Milo skill to Claude Code, Cursor, Codex or pi.
MILO_PROFILE=external pnpm exec milo setup --targets claude-code,codex --yespnpm exec milo skills status--targets takes claude-code, codex, cursor and pi.
At .claude/skills/milo/SKILL.md. Your agent reads it before it runs anything, and the next command after an update rewrites it.
pnpm exec milo login your-store.myshopify.comEach sign-in covers one store.
---name: milodescription: Drive an Appbrew app workspace from the terminal with the milo CLI — authenticate, manage themes, and pull → edit → commit → push app config, plus integrations, shopify, files, push notifications, onelinks, and analytics. Use whenever the user wants to inspect or change an app's config / theme / screens / navigation, trace why a block isn't rendering, debug styling / deep links / integrations, analyze growth (metrics, discounts, push campaigns), sign in to a store ("milo login"), land changes on the live theme, or run any `milo <group>` command. Every command prints JSON to stdout. To create an app for a store that has none, or to seed a theme from a curated brand-inspired blueprint, use the `create-app` skill instead. To build instant code block that no existing block can express, use the `instant-code` skill instead.--- # milo milo is the agent-facing CLI for an Appbrew app workspace. It is how youinspect and change an app: themes, config, integrations, shopify, files, push,and analytics.… 76 more linesHow it works
Pull it, change it on a draft, see it on your phone, publish on a yes.
Screens, theme, navigation and settings arrive as JSON files your agent can read and edit.
milo config pullOne command opens the draft on your phone, in your own app or in Appbrew Lens, before anyone else sees it.
milo theme previewGoing live starts with a summary of what shoppers will see, and waits for a yes.
milo theme prepublish.milo/sync/…/draft
Studio previewYour phone
yes
Shoppers
For agencies
Sign in to each store once and switch between them. Send your client the preview. Publish after their yes.
Your agency
Your client
Signed inmeadow-goodsharbor-and-pine
% milo login meadow-goods.myshopify.com% milo login harbor-and-pine.myshopify.com% milo switch meadow-goods.myshopify.com# Switch this directory to an already signed-in store (no re-login)% milo theme prepublish | jq -r .messageUpdates the home screen with a new Black Friday banner.# send the summary and the preview to your client
Code Access story · Salty
“With Code Access, there is no ceiling limit as such… the sky is the limit.”
Software engineer, owns the Salty app
Shopify brands running their app on Appbrew
100+ commands
Grouped the way your app is built. Pick a group, or search.
milo theme --help
listList all themes (live / scheduled / draft)createCreate a new draft theme (clones live by default, or starts from a blueprint)renameRename a theme (defaults to active theme)archiveArchive a theme (defaults to active theme)previewPrint the preview link for the active themeprepublishSum up what publishing would change for shopperspublishPublish the active themescheduleSchedule the active theme to go live at a future timeunscheduleCancel the active theme's pending scheduleuseSwitch active theme (`use reset` to clear)milo config --help
pullFetch the theme bundle into .milo/sync/<theme>/ (draft + snapshot)statusLocal sync-state dashboardshowShow an entity from the pulled cache (local-only)entitiesList every entity id in the pulled cache (writable + read-only), sorted by kind then idsearchFind string values containing the term across every pulled entitydiffList entities that differrefreshRe-fetch a single entity from the server, overwriting local copycommitSave one changed entity to your draft themecreate-screenGenerate a local draft file for a new screen (envelope pre-filled)pushMerge the active draft theme into its base themecreate-backupSave a local backup of the active themelist-backupsList local config backupsrestore-backupRestore the active theme from a local backup timestamplist-releasesList recent server-published config releasesrestore-releaseReset the active theme to a past server release snapshotmilo bundle --help
buildBuild the remote bundle and upload it to the active theme's preview channelprereleaseSum up what a release would shipreleaseRelease the remote bundlecurrentShow the currently-released bundlereleasesList the release historymilo integration --help
catalogDiscover available integrations from the package registry (name, description, latest version)listIntegrations installed on this app (id + status from the app record)infoWhat an integration is and what it needsgetAn installed integration’s settings, with keys maskedaddInstall integrationsetupRun an integration's scripted setupstatusCheck every scripted setup step of an integration against the backend, the repo and the active theme without changing anythingupdateUpdate integration settings (auto-backup)removeUninstall integration (auto-backup)backupsList integration backupsrestoreRestore integration from backupmilo push --help
listList push notifications (most recent first)getFind one push notification by idcreateSchedule a push notification for a future timeupdateUpdate a scheduled push notification by id (reschedule for a future time)cancelCancel a scheduled push notification by idtestSend a test push to specific emails (no broadcast)milo analytics --help
metricsList supported analytics metric namesqueryFetch analytics for one or more metrics over a date rangemilo shopify --help
queryQuery the Admin API, read-onlystorefront-queryStorefront API (mutations OK)discountsShopify-native discounts via Admin GraphQL proxydiscountFull Shopify-native discount by GIDmilo app --help
createCreate the store’s app from a blueprintsetupSet up the app’s native codefontsBundle Google Fonts into the app codebrewmeterRegister the app for crash reportingwhichShow current app + theme + sessionpreflightStructured readiness checkmetadataFirebase, SHA keys, bundle IDs, health checksbrand-contextYour brand’s identity and voice, for the active appcache-clearClear cached HTTP responses (themes list, config bundle)milo files --help
listList Shopify FilesuploadUpload an image/video to Shopify Filesupload-iconUpload an icon to the app's Appbrew icons bucketshareUpload a file and get a link to sharemilo discount --help
listList app discountsgetFull app discount detailsmilo auth --help
loginSign in via the Appbrew Studio in the browser, then pick a store in the terminal (24h session)logoutClear a saved session (defaults to the active store)switchSwitch this directory to an already signed-in store (no re-login)statusShow current session state, email, and active app (best-effort backfill)milo skills --help
statusShow installed vs bundled skill version, profile, drift, and managed pathssyncForce reconcile installed skills now (normally automatic on every command)listList the agent skills available to the active profilegetPrint one or more skills' rendered SKILL.md (profile-filtered, command catalog filled)setupNon-interactive install of milo skills into chosen tools (the wizard is bare `milo`)No command matches. Try restore or release.
Underlined commands write. 77 of 100+ shown, in the CLI’s own words, shortened.CLI reference ↗
Guardrails
Where each command lands, and what it tells us.
theme createconfig commit
Writing to the live theme prints a warning.
theme publishbundle release
After prepublish sums up what shoppers will see.
config restore-releasebundle release --tag
To an earlier release or build.
shopify query
Admin GraphQL mutations are blocked.
integration getintegration remove
Keys stay masked unless you pass --reveal.
push createintegration updatefiles upload
No yes step. Integration changes are backed up first.
{
"command": "theme preview",
"status": "success",
"exit_code": 0,
"command_duration_ms": 1840,
"cli_version": "0.5.20",
"os": "darwin",
"source": "local",
"profile": "external",
"app_id": "app_mG7d2Kq",
"theme_id": "theme_bf24kq",
"shop": "meadow-goods.myshopify.com",
"$email": "dev@meadowgoods.com"
}
✕ Arguments and option values are never sent.
Security
Appbrew is SOC 2 and ISO 27001:2022 compliant. Milo works inside the same controls.
In the trust center
User access reviewsTransmission confidentialityApproval of changesMalicious code protection Visit the trust center →FAQ
Milo CLI is the command line for your Appbrew app, the AI app builder for Shopify brands. Your developers or your agency, or their coding agent in Claude Code, Cursor or Codex, use it to change themes, screens, Instant code, integrations and push notifications, and to read analytics. Every command prints JSON. It’s built on the same CLI Milo runs inside Studio.
Milo CLI comes with the Enterprise plan, and Appbrew sets it up for you with Code access. It ships as a dev dependency in your app’s repo. Run MILO_PROFILE=external pnpm exec milo setup --targets claude-code,codex --yes to set up your coding agent, then pnpm exec milo login your-store.myshopify.com to sign in. Each sign-in covers one store. milo switch points the current folder at another store you’re signed in to, with no new sign-in.
Milo is the agent inside Studio. Milo CLI is the command line it works with, opened up to your developers and their coding agents.
The Appbrew MCP comes with every plan and brings 30 tools into chat apps like Claude and ChatGPT, with nothing to install. Milo CLI lives in your app’s repo, with over 100 commands, including Instant code builds and integration setup.
Theme and screen changes go to a draft theme you create, and writing to the live theme prints a warning first. Going live is its own step: publishing needs a summary of what shoppers will see, and a yes. Pushes scheduled with push create, integration updates and file uploads don’t wait for a yes. Integration updates and removals are backed up first.
One event per command: its name, status, exit code, run time, Milo CLI version, operating system and profile, whether it ran on your machine or in CI, the app, theme and store, and the email you signed in with (or your git email). Arguments and option values are never sent.
Milo CLI comes with Enterprise and is already in your app’s repo. Not on Enterprise yet? Book 30 minutes and we’ll look at your store before the call.
Want 3x higher conversions and 6x higher LTV for your Shopify store?
We'll show you exactly how.
Fill the details and we'll share it with you
We've received your details and will share the secret with you shortly.