Skip to content

volta list pnpm does not work when installed as package #2049

Description

@felipecrs
❯ volta install pnpm
success: installed pnpm@10.11.1 with executables: pnpm, pnpx

❯ volta list
⚡️ Currently active tools:

    Node: v22.16.0 (default)
    npm: v11.4.1 (default)
    Yarn: v4.9.2 (default)
    Tool binaries available:
        devcontainer (default)
        pnpm, pnpx (default)

See options for more detailed reports by running `volta list --help`.

❯ volta list pnpm
⚡️ No pnpm versions installed.

You can install a pnpm version by running `volta install pnpm`.
See `volta help install` for details and more options.

Activity

  1. changed the title [-]`volta list pnpm` does not work[/-] [+]`volta list pnpm` does not work when installed as a normal package[/+] on Jun 6, 2025
  2. changed the title [-]`volta list pnpm` does not work when installed as a normal package[/-] [+]`volta list pnpm` does not work when installed as package[/+] on Jun 6, 2025
  3. donald-ferrum commented on Jun 11, 2025

    @donald-ferrum

    Support for pnpm is currently experimental. To enable it, ensure that the environment variable VOLTA_FEATURE_PNPM is set to 1. On Windows, this can be added to your user or system environment variables in the System Settings. On Linux/Mac, you can set the value inside of your profile script (e.g. .bash_profile, .zshrc, or similar).

    https://docs.volta.sh/advanced/pnpm

    // ~/.zshrc
    ...
    export VOLTA_FEATURE_PNPM=1
    ...
    Image
  4. felipecrs commented on Jun 11, 2025

    @felipecrs
    ContributorAuthor

    @donald-lendit I am aware of it. That's why I explicitly mentioned when installed as a package, i.e. when VOLTA_FEATURE_PNPM is not set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions