Skip to main content

CLI reference

This project ships no CLI of its own. You manage it with Claude Code's claude plugin commands, which also work inside a session as /plugin.

Marketplace​

claude plugin marketplace add catesworks/claude-lsp-plugins # GitHub shorthand
claude plugin marketplace add git@github.com:catesworks/claude-lsp-plugins.git # SSH URL
claude plugin marketplace add ./path/to/claude-lsp-plugins # local checkout
claude plugin marketplace list
claude plugin marketplace remove claude-lsp-plugins
Removing a marketplace uninstalls its plugins

marketplace remove also uninstalls every plugin installed from it. Reinstall them afterwards.

One name, one source

A marketplace name can only point at one source. If you added the local folder, adding the git URL fails with its source doesn't match its extraKnownMarketplaces entry. Remove the marketplace first, then add it from the source you want.

Plugins​

claude plugin install bash-lsp@claude-lsp-plugins
claude plugin list
claude plugin disable bash-lsp@claude-lsp-plugins
claude plugin enable bash-lsp@claude-lsp-plugins
claude plugin update bash-lsp@claude-lsp-plugins
claude plugin uninstall bash-lsp@claude-lsp-plugins

Validate (for contributors)​

claude plugin validate . --strict
claude plugin validate plugins/bash-lsp --strict

--strict turns warnings into failures. A plugin-directory warning, ICON_MISSING, appears for every plugin here. It only matters for submitting to Anthropic's directory and does not affect the result.

Debugging​

claude --debug-file /tmp/claude-debug.log
grep -E "LSP (server|client)" /tmp/claude-debug.log

In a session, /reload-plugins reloads plugins without a restart.