Drop-in replacement.
Native speed.
Rust parser + parallel transforms + tsgo type-checking. Same CLI. Same output. Faster feedback.
$npm install -D svelte-check-rs
$curl --proto '=https' --tlsv1.2 -LsSf https://github.com/pheuter/svelte-check-rs/releases/latest/download/svelte-check-rs-installer.sh | sh
>irm https://github.com/pheuter/svelte-check-rs/releases/latest/download/svelte-check-rs-installer.ps1 | iex
Built for agentic coding
svelte-check is built on Language Server Protocol infrastructure—optimized for IDEs with persistent connections, incremental updates, and interactive editing. Great for autocomplete and hover info. Slow for one-shot CLI checks.
svelte-check-rs is a batch-first CLI. No LSP. No language service overhead. Just fast, parallel diagnostics for CI pipelines and AI coding agents.
- AI coding agents (Claude Code, Codex, Cursor)
- CI/CD pipelines
- Pre-commit hooks
- Watch mode iteration
- In-editor diagnostics
- Autocomplete / IntelliSense
- Hover documentation
- Go-to-definition
Keep using the Svelte VS Code extension for IDE features. Use svelte-check-rs when you need fast CLI feedback. Still on Svelte 4? Stick with svelte-check.
Why it's fast
incremental: true with persistent .tsbuildinfo. Subsequent runs only re-check changed files.Rust Parser
Zero-copy lexer and AST built for Svelte 5 runes. No Node.js startup overhead.
Svelte Compiler (bun)
Persistent bun workers run Svelte compiler diagnostics directly on source.
Parallel Transform
Svelte to TypeScript via rayon. All CPU cores. Source maps preserved.
tsgo Compiler
Microsoft's native Go port of TypeScript. 10x faster than tsc.
Install
$npm install -D svelte-check-rs
Uses platform-specific optional dependencies to provide the binary. If you install with --no-optional, re-enable optional deps or use the shell/PowerShell installers below.
$curl --proto '=https' --tlsv1.2 -LsSf https://github.com/pheuter/svelte-check-rs/releases/latest/download/svelte-check-rs-installer.sh | sh
>irm https://github.com/pheuter/svelte-check-rs/releases/latest/download/svelte-check-rs-installer.ps1 | iex
CLI Reference
Core
--workspace <path>
Project root
--tsconfig <path>
TypeScript config
--output <fmt>
human | json | machine
--watch
Re-check on file change
Diagnostics
--threshold
error | warning
--fail-on-warnings
Exit 1 on warnings
--ignore <glob>
Skip matching files
--skip-tsgo
Skip TypeScript type-checking
Debug
--timings
Print timing breakdown
--timings-format
text | json
--debug-paths
Show resolved binaries (tsgo, bun)
--emit-ts
Print transformed TS
Tooling
--tsgo-version
Show installed tsgo version
--bun-version
Show installed bun version
--bun-update
Update bun to latest
--bun-update=<ver>
Install specific version