Installation
Linux and macOS
Windows
Download the compressed.gz file from chameleondb.dev/windows.
Extract to get:
chameleon.exechameleon.dll
Verify Installation
Environment Variables
Database connection string. Used by migrate, status, and introspect commands.Example:
Command Categories
Project Initialization
chameleon init- Initialize a new ChameleonDB project
Schema Management
chameleon migrate- Generate and apply migrationschameleon validate- Validate schema syntaxchameleon introspect- Generate schema from existing database
Integrity & Monitoring
chameleon verify- Verify Schema Vault integritychameleon status- Show current statuschameleon journal- View audit logs
Configuration
chameleon config- Manage configuration and modes
Utility Commands
chameleon version- Show ChameleonDB versionchameleon check [file]- Check schema for errors (for editor integrations)chameleon query [entity]- Interactive query execution (for testing)chameleon uninstall- Uninstall ChameleonDB from system
Project Structure
After runningchameleon init, you’ll have:
Common Workflows
First-Time Setup
Daily Development
Integrity Verification
Global Flags
Enable verbose output with additional debug information
Show help for any command
Show CLI version
Exit Codes
0- Success1- General error- Non-zero - Command-specific error