A package wrapper for libsql-server (sqld
) with platform-specific binaries.
This package automatically downloads and publishes the latest libsql-server
releases from the official GitHub releases, making them available as npm packages with platform-specific binaries.
# Locally install in a project
vlt install sqld
# Start sqld server
vlx sqld --help
# Example: Start with a database file
vlx sqld --db-path ./my-database.db
The appropriate platform-specific binary will be automatically installed based on your system:
@sqld/darwin-arm64
- macOS ARM64 (Apple Silicon)@sqld/darwin-x64
- macOS x64 (Intel)@sqld/linux-arm64
- Linux ARM64@sqld/linux-x64
- Linux x64
Windows is not directly supported as libsql-server
does not provide native Windows binaries. However, you can use sqld
on Windows through Windows Subsystem for Linux (WSL):
- Install WSL: Follow the official WSL installation guide
- Choose a Linux distribution: Ubuntu, Debian, or any other supported distribution
- Install Node.js in your WSL environment
- Install sqld within WSL:
vlt install sqld
The Linux ARM64 or x64 binary (depending on your system architecture) will be used within the WSL environment.
MIT