How can I use VS Code to update extensions via commandline?

I can’t find a command to update my install extensions from the terminal.

Of course I use code --install-extension to install extensions. But how should I update them?

The --help docstring for --install-extension says:

--install-extension <ext-id | path> Installs or updates an extension. The argument is either an extension id or a path to a VSIX. The identifier of an extension is ‘${publisher}.${name}’. Use --force argument to update to latest version. To install a specific version provide @${version}. For example: [email protected].

Leave a Comment