LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

vsce

VS Code extension manager CLI

TLDR

Package an extension into a .vsix file
$ vsce package
copy
Publish an extension to the Marketplace
$ vsce publish
copy
Publish with an automatic version bump
$ vsce publish [patch|minor|major]
copy
Log in as a publisher
$ vsce login [publisher_name]
copy
Verify a Personal Access Token
$ vsce verify-pat [publisher_name]
copy
Show metadata for an extension
$ vsce show [publisher.extension]
copy
List files that would be included in the package
$ vsce ls
copy
Unpublish an extension
$ vsce unpublish [publisher.extension]
copy

SYNOPSIS

vsce command [options]

DESCRIPTION

vsce (Visual Studio Code Extension Manager) is Microsoft's official CLI for packaging, publishing, and managing VS Code extensions on the Visual Studio Marketplace. It handles the full lifecycle of extension development from local packaging to public distribution.The `package` command bundles an extension project into a `.vsix` file that can be installed locally or shared directly. The `publish` command uploads the packaged extension to the Marketplace, with optional automatic version bumping using semver increments (major, minor, patch).A publisher identity is required for Marketplace operations. Authentication uses Azure DevOps Personal Access Tokens. Additional commands handle publisher credentials, inspection of package contents, and querying Marketplace metadata.

PARAMETERS

package

Package the extension into a .vsix file.
publish [VERSION]
Publish the extension to the Marketplace. VERSION may be `major`, `minor`, `patch`, or an explicit version.
login PUBLISHER
Store credentials for a publisher.
logout PUBLISHER
Remove a publisher's stored credentials.
verify-pat [PUBLISHER]
Verify that the Personal Access Token has publish rights.
show EXTENSION
Show metadata (downloads, ratings, versions) for an extension.
search TEXT
Search the Marketplace for extensions.
ls
List files that would be packaged or published.
ls-publishers
List known publishers.
delete-publisher NAME
Delete a publisher.
unpublish [EXTENSION]
Remove an extension from the Marketplace.
-p, --pat TOKEN
Personal Access Token used to authenticate.
-t, --target TARGET
Target platform (e.g., `linux-x64`, `win32-x64`).
-o, --out PATH
Output file or directory for the packaged .vsix.
--pre-release
Mark the package or publication as a pre-release.
--no-yarn / --yarn
Force use of npm or Yarn for dependency installation.
--skip-duplicate
Skip publishing when the same version already exists.

INSTALL

brew install vsce
copy
nix profile install nixpkgs#vsce
copy

CAVEATS

Requires a Marketplace account and an Azure DevOps PAT with the Marketplace (Manage) scope. Extensions must follow the Marketplace publishing guidelines. The package is typically installed via `npm install -g @vscode/vsce`.

HISTORY

vsce (Visual Studio Code Extension Manager) is developed by Microsoft and distributed on npm as `@vscode/vsce`. It has been the primary tool for packaging and publishing VS Code extensions since the Marketplace launched.

SEE ALSO

code(1), npm(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid