I have installed the javascript-typescript and the eslint language servers using the lsp-install-server command. I want to make sure I'm using the latest version. Doing lsp-install-server again doesn't show neither the typescript nor the eslint servers I just installed, I guess it is because it only shows the uninstalled servers.

Is there a command or an recommended approach to update the servers?

I guess I can delete the installed servers folders and do the install again but it doesn't seem right since I used a command for installing there should probably be a command for updating.

lsp-mode config:

(use-package lsp-mode
  :straight t
  :hook ((js-mode typescript-mode) . lsp-deferred)
  (lsp-enable-snippet nil)
  (setq read-process-output-max (* 1024 1024)))

2 Answers 2


There is an interactive function called lsp-update-server. You can of course update the server packages manually independent of lsp.

  • oh, I couldn't find the function and didn't think of updating the lsp package because I do it very often, but alas, the function does exist, must have been added recently. Thanks (added here github.com/emacs-lsp/lsp-mode/pull/3160) Nov 5, 2021 at 5:10

Anyone coming here for Java (jdt.ls) should check the server download url defined as customizable variable lsp-java-jdt-download-url and pick a package from https://download.eclipse.org/jdtls/milestones/ . Be sure to look carefully through the list as it is not sorted by increasing version numbers.

To see if the new version is active, check the Emacs buffer *lsp-log* and search for Initializing Java Language Server ... which provides the version.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.