Skip to content

varitykit app deploy

Varity Team Core Contributors Updated March 2026

Deploy your application to Varity’s secure infrastructure.

Terminal window
varitykit app deploy [OPTIONS]

Deploy static websites and single-page applications:

Terminal window
varitykit app deploy

Best for:

  • Marketing websites
  • Documentation sites
  • Single-page applications
  • Landing pages

Features:

  • Global CDN distribution
  • Free hosting (sponsored by Varity)
  • Permanent deployment URLs
  • Automatic SSL

Deploy full-stack applications with compute resources:

Terminal window
varitykit app deploy --hosting dynamic

Best for:

  • APIs and backends
  • Server-side rendering
  • Database applications
  • Full-stack apps

Features:

  • Container hosting
  • Persistent storage
  • 70-85% cheaper than AWS
OptionDefaultDescription
--hostingstaticHosting type: static or dynamic
--path.Project directory
--submit-to-storefalseSubmit to Varity App Store
--tier-Pricing tier: free, starter, growth, enterprise, scale
--name-Custom app name for varity.app/{name}
--modeautoDeployment mode: auto, guided, or expert
  1. Build your project

    Terminal window
    npm run build
  2. Deploy

    Terminal window
    varitykit app deploy
  3. View your live app

    ✓ Build complete
    ✓ Deployed successfully
    ✓ Registered on Varity
    Your app is live at:
    https://your-app.varity.app
    Deployment ID: deploy-1737492000

Submit your app to the Varity App Store during deployment:

Terminal window
varitykit app deploy --submit-to-store

This will:

  1. Build and deploy your app
  2. Register on Varity’s infrastructure
  3. Submit to the App Store for review

The CLI automatically detects your framework:

FrameworkDetectionBuild Command
Next.jsnext.config.*npm run build
React (Vite)vite.config.*npm run build
React (CRA)react-scriptsnpm run build
Vuevue.config.*npm run build
Custompackage.jsonnpm run build

Storage and authentication credentials are auto-provided by Varity. No manual credential setup is required. See Managed Credentials.

Revert to a previous deployment:

Terminal window
varitykit app rollback deploy-1737491000

View all deployments:

Terminal window
varitykit app list

Output:

ID | Status | URL
--------------------|---------|---------------------------
deploy-1737492000 | live | https://your-app.varity.app
deploy-1737491000 | archived| https://v2.your-app.varity.app

Get detailed information about a specific deployment:

Terminal window
varitykit app info deploy-1737492000

View overall deployment status:

Terminal window
varitykit app status
  1. Verify your build works locally:

    Terminal window
    npm run build
  2. Check for missing dependencies:

    Terminal window
    npm install
  1. Verify network connectivity:

    Terminal window
    varitykit doctor
  2. Check your internet connection and try again

Advanced: Deployment Manifest

After deployment, a manifest file is created:

.varity/deploy-1737492000.json
{
"deployment_id": "deploy-1737492000",
"timestamp": "2026-01-28T12:00:00Z",
"hosting": "static",
"url": "https://your-app.varity.app"
}