Skip to content

varitykit doctor

Varity Team Core Contributors Updated March 2026

Validate your development environment and identify any issues.

Terminal window
varitykit doctor [OPTIONS]

The doctor command performs 8 checks across 4 categories:

CheckRequirement
Python version>= 3.8
Node.js version>= 18.0
npm versionAny
DockerRunning (optional)
VariableStatus
NEXT_PUBLIC_PRIVY_APP_IDAuto-provided (or set your own)
VARITY_API_KEYAuto-provided via credential proxy
  • Varity platform connection
  • Storage API access
  • Storage gateway access
  • package.json exists
  • Build script defined
  • Dependencies installed
$ varitykit doctor
╭──────────────────────────────────────╮
│ Varity Environment Check │
│ Validating your development setup... │
╰──────────────────────────────────────╯
1/4 Checking required tools...
2/4 Checking system resources...
3/4 Checking project configuration...
4/4 Checking network connectivity...
Environment Check Results
╭────────────────────────┬────────────────────────┬──────────────┬─────────────╮
│ Category │ Check │ Status │ Details │
├────────────────────────┼────────────────────────┼──────────────┼─────────────┤
│ Required Tools │ node │ ✓ PASS │ ... │
│ Required Tools │ npm │ ✓ PASS │ ... │
│ Required Tools │ git │ ✓ PASS │ ... │
│ System │ Disk Space │ ✓ PASS │ ... │
│ System │ Memory │ ✓ PASS │ ... │
│ Project │ varity.config.json │ ⚠ WARN │ Run init │
│ Project │ .env File │ ⚠ WARN │ Optional │
│ Network │ Internet │ ✓ PASS │ Connected │
╰────────────────────────┴────────────────────────┴──────────────┴─────────────╯
Total: 8 checks
╭─────────────────────────────────────────────────────────────────────────╮
│ ✓ All checks passed! │
│ Your environment is ready. Run varitykit app deploy to deploy your app. │
╰─────────────────────────────────────────────────────────────────────────╯
OptionDescription
--fixAttempt to auto-fix common issues
--fullRun full diagnostics including all infrastructure checks
CodeMeaning
0All checks passed
1Some checks failed
2Critical failure (cannot proceed)
Terminal window
# macOS
brew install node
# Ubuntu
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt install -y nodejs
# Windows
# Download from nodejs.org

Storage, authentication, and deployment credentials are auto-provided by Varity’s credential proxy. No manual credential setup is required.

If you need to override the default app ID, create a .env.local file in your project root:

.env.local
NEXT_PUBLIC_VARITY_APP_ID=your-app-id
Terminal window
# macOS/Windows
# Open Docker Desktop
# Linux
sudo systemctl start docker

For more detailed diagnostics:

Terminal window
varitykit doctor --full

This runs all infrastructure checks in addition to the standard environment checks.