VisCommandsvis pm

vis pm

Package manager utilities (cache, publish, audit, list, config, etc.)

vis pm

Pass-through to the detected package manager's miscellaneous subcommands — cache management, publishing, auditing, listing, config, identity. The first positional becomes the PM subcommand and everything after it is forwarded.

Usage

vis pm <subcommand> [args...]

Examples

vis pm cache dir              # show cache directory
vis pm cache clean            # clean cache
vis pm publish --dry-run      # preview publishing
vis pm list --depth 0         # list direct dependencies
vis pm audit                  # run security audit
vis pm whoami                 # show logged-in user
vis pm plugin list            # yarn berry plugins (no-op on other PMs)

Options

This command takes no flags of its own — every argument is forwarded to the resolved package manager. The PM is selected via the same precedence as vis install (CLI --installer > VIS_INSTALLER > install.backend > auto).

Cross-PM behavior

Some subcommands move between namespaces or were removed entirely depending on the PM. vis pm papers over the differences when there is a sensible substitution, and warns + exits 0 when there is not.

SubcommandSubstitution
whoami (pnpm 11)falls back to npm whoami (pnpm 11 removed whoami)
whoami (yarn berry)rewrites to yarn npm whoami
whoami (bun)rewrites to bun pm whoami
login / logout (yarn berry)rewrites to yarn npm login / yarn npm logout
login / logout (bun)falls back to npm login / npm logout (bun reads ~/.npmrc)
audit (yarn berry)rewrites to yarn npm audit
publish (yarn berry)rewrites to yarn npm publish
dist-tag (yarn 1)rewrites to yarn tag
dist-tag (yarn berry)rewrites to yarn npm tag (and translates rmremove)
owner (pnpm 11 / yarn berry / bun)falls back to npm owner
ping / search / token (pnpm 11)falls back to npm <sub> (pnpm 11 removed each)
config delete (yarn berry)rewrites to yarn config unset
plugin (anything but yarn berry)warn + exit 0
prune (yarn / bun / deno)warn + exit 0 (pruning happens on install)
rebuild (yarn 1 / bun / deno)warn + exit 0
config (bun / deno)warn + exit 0 (no config CLI; edit bunfig.toml / .npmrc / deno.json)

Deno

Deno has no umbrella pm command, so vis maps the common subcommands to deno's nearest equivalents:

SubcommandDeno equivalent
cache <dir>deno info (cache management lives in --reload / DENO_DIR env)
listdeno info
packdeno publish --dry-run
view / infodeno info npm:<pkg>
prune / rebuildunsupported — vis emits a warning
Support

Contribute to our work and keep us going

Community is the heart of open source. The success of our packages wouldn't be possible without the incredible contributions of users, testers, and developers who collaborate with us every day.Want to get involved? Here are some tips on how you can make a meaningful impact on our open source projects.

Ready to help us out?

Be sure to check out the package's contribution guidelines first. They'll walk you through the process on how to properly submit an issue or pull request to our repositories.

Submit a pull request

Found something to improve? Fork the repo, make your changes, and open a PR. We review every contribution and provide feedback to help you get merged.

Good first issues

Simple issues suited for people new to open source development, and often a good place to start working on a package.
View good first issues