Skip to content

Quick Start

Terminal window
npm i -g pubm
Terminal window
# Create a changeset describing your changes
pubm add
# Consume changesets, bump version, generate changelog
pubm version
# Publish to configured registries
pubm patch
Terminal window
# See what would happen without side effects
pubm patch --preview

pubm detects pnpm, yarn, and npm workspaces automatically. Packages are published in dependency order.

Terminal window
# Same commands — pubm handles workspace discovery
pubm add
pubm version
pubm patch
Terminal window
# Enter pre-release mode
pubm pre enter beta
pubm version # → 1.2.0-beta.0, 1.2.0-beta.1, ...
pubm pre exit
# One-off snapshot releases
pubm snapshot # → 0.0.0-snapshot-20260309T123456
Terminal window
pubm patch --registry npm,jsr,https://registry.example.com