Installation
Evidence can be installed in multiple ways depending on your workflow and environment. Choose the method that works best for you.VSCode extension (recommended)
The VSCode extension provides the easiest way to get started with Evidence, including guided setup and integrated development tools.Install the extension
Install the Evidence extension from the VSCode Marketplace:Or search for “Evidence” in the VSCode Extensions panel (Ctrl/Cmd+Shift+X).
Evidence VSCode Extension
Click to install from the Visual Studio Marketplace
Create a new project
Open the Command Palette (F1 or Ctrl/Cmd+Shift+P) and run:Follow the prompts to create your project in your desired location.
Start Evidence
Click the Start Evidence button in the bottom status bar.
This will:
This will:- Install all required dependencies
- Start the Evidence development server
- Open your browser automatically to
http://localhost:3000
On Windows, the first startup can take a couple of minutes as dependencies are installed.
Command line installation
Install Evidence directly from your terminal using your preferred package manager.- npm
- yarn
- pnpm
http://localhost:3000.
Install with dbt
You can install Evidence inside your existing dbt project to create an analytics monorepo.reports folder within your dbt project, allowing you to:
- Version control your models and reports together
- Make coordinated changes across your data transformation and reporting layers
- Keep related code in a single repository
This setup currently requires terminal access and cannot be done from the dbt Cloud UI.
GitHub Codespaces
Run Evidence in a cloud-based development environment without any local installation.Launch Evidence Codespace
Create a new Evidence Codespace (opens GitHub)
Docker installation
Run Evidence in a Docker container for consistent, isolated environments.Detailed Docker setup instructions are available in the Evidence documentation. The basic approach involves creating a Dockerfile that installs Node.js and Evidence dependencies.
Evidence Studio (cloud IDE)
Evidence Studio is an AI-powered cloud IDE that provides the fastest way to build with Evidence.Try Evidence Studio
Get started with Evidence Studio - no installation required
- No local setup required
- AI-powered code assistance
- Instant previews
- Integrated deployment
System requirements
Minimum requirements
- Node.js 18 or higher (check with
node --version) - npm, yarn, or pnpm for package management
- 2GB RAM for development
- Modern web browser (Chrome, Firefox, Safari, Edge)
Recommended for best performance
- Node.js 20+
- 4GB+ RAM (especially for large datasets)
- SSD storage for faster builds
Evidence automatically increases Node memory limit to 4GB when running build commands. You can override this by setting
NODE_OPTIONS=--max-old-space-size=8192 for 8GB.Connect your database
After installation, you’ll want to connect your own data source. Evidence supports multiple databases and data warehouses.Supported data sources
PostgreSQL
PostgreSQL and compatible databases
Snowflake
Snowflake data warehouse
BigQuery
Google BigQuery
DuckDB
Local DuckDB databases
MySQL
MySQL and MariaDB
Databricks
Databricks SQL
CSV/Parquet
Flat files (CSV, Parquet)
MotherDuck
DuckDB in the cloud
SQLite
SQLite databases
Add a data source
Configure connection
Enter your connection details. These are saved in:
sources/[source_name]/connection.yaml- non-secret configurationsources/[source_name]/connection.options.yaml- encrypted credentials (base64 encoded)
Create source queries
Add These queries run in your database’s native SQL dialect.
.sql files to your source directory to define queries:sources/my_database/orders.sql
CSV files
To use CSV files as a data source:- Navigate to
http://localhost:3000/settings - Select Add new source → CSV
- Upload your CSV file or place it in
sources/[source_name]/ - Run
npm run sourcesto build the data cache
CLI commands
Evidence provides several CLI commands for development and deployment:Development
Advanced options
Build only changed sources
Build specific sources
Build specific queries
Strict mode (fail on error)
Debug mode
Environment debugging
View all Evidence environment variables:Project structure
After installation, your Evidence project will have this structure:Updating Evidence
To update Evidence to the latest version:Next steps
Follow the quickstart
Build your first Evidence app in 5 minutes
Learn the syntax
Understand Evidence-flavored Markdown
Explore components
Browse the full component library
Deploy your app
Deploy to Netlify, Vercel, or your own infrastructure
Troubleshooting
Node version error
Node version error
Evidence requires Node.js 18 or higher. Check your version with
node --version and upgrade if needed using nvm or by downloading from nodejs.org.Installation fails on Windows
Installation fails on Windows
On Windows, you may need to install the Windows Build Tools:
Port already in use
Port already in use
If port 3000 is already in use, specify a different port:
Database connection fails
Database connection fails
Verify your connection credentials in
sources/[name]/connection.yaml and ensure your database is accessible from your development machine.If you encounter issues during installation, reach out on Slack or open an issue on GitHub.