- Update the version number in
package.json
. - Run
sudo npm install -g vsce
. - Run
vsce package
to create a.vsix
file. Make sure you have node version 14.17.0 or higher. - To update the new version in the marketplace, run
sudo npm cache clean -f
,sudo npm install -g n
,sudo n stable
. - Run
vsce publish
to publish the extension to the marketplace. Or, upload the.vsix
file to the marketplace manually. You will need to login to your microsoft account.