LinuxCommandLibrary

vsce

VS Code extension manager CLI

TLDR

Package extension

$ vsce package
copy
Publish extension
$ vsce publish
copy
Publish with version bump
$ vsce publish [minor]
copy
Login to marketplace
$ vsce login [publisher-name]
copy
Show extension info
$ vsce show [publisher.extension]
copy
List files in package
$ vsce ls
copy
Create publisher
$ vsce create-publisher [name]
copy

SYNOPSIS

vsce command [options]

DESCRIPTION

vsce (Visual Studio Code Extension Manager) is the official command-line tool 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 packaging command bundles an extension project into a .vsix file that can be installed locally or shared directly. Publishing uploads the packaged extension to the Visual Studio Marketplace, with support for automatic version bumping using semver increments (major, minor, patch).
A publisher identity is required for marketplace operations, which can be created through the tool or the marketplace web interface. Authentication uses Azure DevOps personal access tokens. The tool also provides commands for listing package contents before publishing and displaying extension metadata such as download counts and ratings.

PARAMETERS

package

Create .vsix file.
publish [VERSION]
Publish to marketplace.
login PUBLISHER
Authenticate.
show EXTENSION
Extension info.
ls
List package files.
create-publisher NAME
Create publisher.
unpublish EXTENSION
Remove from marketplace.
-p, --pat TOKEN
Personal access token.

CAVEATS

Requires marketplace account. Azure DevOps PAT needed. Extension guidelines apply.

HISTORY

vsce (Visual Studio Code Extension Manager) is Microsoft's CLI for VS Code extension management.

SEE ALSO

code(1), npm(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community