Installation
Install wvlet with Homebrew. It is the full command-line tool: the REPL, run, build, flows, the Web UI, and the JDBC connectors.
Homebrew (recommended)
brew install wvlet/wvlet/wvlet
wvlet version
This installs the wvlet command and its wv alias (wvlet repl) on Apple silicon Macs and on Linux (x64 and arm64). Homebrew sets up the Java runtime it needs, so there is no JDK to install. To upgrade, run brew upgrade wvlet (run brew update first if the latest version is not picked up). The formula is at https://github.com/wvlet/homebrew-wvlet.
Release packages
Without Homebrew, for example on Windows, download a package from the release page and add its bin folder to your PATH:
wvlet-cli-(version)-(platform).tar.gzformacos-arm64,linux-x64, andlinux-arm64: bundles a Java runtime, so no JDK is needed.wvlet-cli-(version).tar.gz: the same command without a runtime; it needs JDK 17 or later inJAVA_HOME, and JDK 25 or later forwvlet server. Use it on Intel Macs, where neither Homebrew nor a package with a bundled runtime is available.
Adding DuckDB or Snowflake
The DuckDB and Snowflake connectors need a JDBC driver that wvlet does not bundle. The first time a query uses one (-t duckdb, a profile connector, or use connector), wvlet downloads its driver from Maven Central, checks it against the SHA-256 that this wvlet version pins, and prints one line:
Installing the duckdb JDBC driver 2.0.1.0 (78 MB) into ~/.wvlet/drivers/duckdb_jdbc/2.0.1.0
To install a driver ahead of time, for example in a Docker image or on CI, or to see what is installed:
wvlet install duckdb # or snowflake
wvlet install # list the drivers and where they are
Drivers are kept per version, so upgrading wvlet keeps the ones you have, and a new driver version is downloaded only when wvlet moves to it.
| Environment variable | Effect |
|---|---|
WVLET_NO_DRIVER_INSTALL=1 | Don't download on first use: a query that needs a missing driver fails with how to install it. wvlet install still works |
WVLET_DRIVER_DIR | Where drivers are installed (default: ~/.wvlet/drivers) |
WVLET_MAVEN_REPO | A Maven Central mirror to download from (default: https://repo1.maven.org/maven2) |
Without network access, copy the driver jar of the pinned version (wvlet install lists it) into ~/.wvlet/drivers/<artifact>/<version>/, or into the lib folder of the portable package. A wvlet server installs no driver on first use unless started with --allow-driver-install, since its queries come from others.
npm
wvlet is also on npm, for machines that have Node.js 22+ but no Homebrew:
npm install -g @wvlet/cli
It runs the same command lines on the in-process Wvlet engine: the REPL, run, compile, and build (one model at a time). flow, catalog, server, and the JDBC connectors need the Homebrew or release-package wvlet. It runs on macOS, Linux, and Windows on x64 and arm64; pnpm add -g and bun add -g work too.
- Updates: once a day it checks for a new release in the background and prints a one-line notice;
wvlet upgradereinstalls with the package manager you used. SetWVLET_NO_UPDATE_CHECK=1to turn the check off. - With Homebrew too: the first
wvleton yourPATHis the one that runs; check withwhich wvlet. - Troubleshooting: a warning that npm skipped
koffi's install script is harmless.
Quick Start
After installing Wvlet, follow the Quick Start to run your first queries.
Language SDKs
If you want to integrate Wvlet compilation into your applications, install one of our language SDKs:
Python
pip install wvlet
TypeScript/JavaScript
npm install @wvlet/wvlet
See Language Bindings for more details and usage examples.
VS Code Extension
For VS Code users, we provide a language extension that adds syntax highlighting and language support for .wv files:
Installation
Install directly from the VS Code Marketplace or search for "Wvlet" in the Extensions view (Ctrl+Shift+X / Cmd+Shift+X) within VS Code.
Features
- Syntax highlighting for all Wvlet keywords, operators, and syntax
- Bracket matching and auto-closing
- Comment toggling support (
--and---) - String interpolation highlighting
- Number literal support (integers, floats, hex)
The extension supports both stable and pre-release versions. Pre-release versions allow early access to new features.
For full details, including troubleshooting and development guides, please see the VS Code Extension documentation.
Building From Source
See Building Wvlet for instructions on building it from source.