Install TypeScript LSP for Claude Code on Windows

See this for installing vtsls the TypeScript LSP plugin for Claude Code.

npm install -g typescript-language-server typescript

npm install -g @vtsls/language-server typescript

$env:ENABLE_LSP_TOOL=1
claude


In Claude Code:

/plugin marketplace add anthropics/claude-code

/plugin marketplace add boostvolt/claude-code-lsps

/plugin install vtsls@claude-code-lsps

Then restart with new CLI window and start Claude Code again. And you will see an error since you are on Windows:

LSP for vtsls failed ยท /plugin for details

That’s because of this. Basically just edit .lsp.json file like this:

And restart Claude Code, and it will be working.

There are two .lsp.json files that may require editing:

C:\Users\your_user\.claude\plugins\marketplaces\claude-code-lsps\vtsls\.lsp.json

C:\Users\your_user\.claude\plugins\cache\claude-code-lsps\vtsls\1.0.0\.lsp.json

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top