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 20+ checks:

CheckRequirement
Python version>= 3.8
Node.js version>= 18.0
npm versionAny
DockerRunning (optional)
VariableStatus
THIRDWEB_CLIENT_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
Checking system requirements...
✓ Python version: 3.11.0 (>= 3.8 required)
✓ Node.js version: 20.0.0 (>= 18 required)
✓ npm version: 10.0.0
✓ Docker: Running
Checking environment variables...
✓ Credentials: Auto-provided
✓ Deployment credentials: Managed by Varity
Checking network connectivity...
✓ Varity platform: Connected
✓ Storage API: Accessible
✓ Storage Gateway: Accessible
Checking project structure...
✓ package.json: Found
✓ Build script: npm run build
✓ Dependencies: Installed
Summary:
✓ 12 checks passed
✗ 0 checks failed
All checks passed! Your environment is ready.
Run with --verbose for more details.
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 CI/CD integration:

Terminal window
varitykit doctor --json

Output:

{
"passed": 10,
"failed": 2,
"checks": [
{"name": "python_version", "status": "pass", "value": "3.11.0"},
{"name": "node_version", "status": "pass", "value": "20.0.0"},
{"name": "deploy_credentials", "status": "pass", "value": "managed"}
]
}