Skip to content

feat(global): tree output #3975

Closed

Description

@ctcjab

Problem description

After running pixi global install foo, it appears that the pixi CLI does not currently support showing the packages that were installed in foo's environment.

I checked pixi global, pixi list, and pixi tree and did not see any way to do this.

Too often something stops working when a new version of a transitive dependency is installed. Implementing this feature would make it easier to debug situations like this.

Activity

  1. ruben-arts commented on Jun 19, 2025

    @ruben-arts
    Contributor

    That makes sense, especially the pixi global list and pixi global tree is something I'm missing too!

    This should not be to complex, we're open to contributions!

  2. Carbonhell commented on Jul 10, 2025

    @Carbonhell
    Contributor

    Hi! I was considering contributing by tackling this issue, but from what I see it might already be implemented, assuming I understood the original description of the issue correctly.

    If I install a package like pixi global install pixi-pack, it creates a global environment with the same name which can be seen with pixi global list. Then, if I run pixi global list --environment pixi-pack, I can see a full list of the dependencies included in this environment, as shown in the following screenshot:

    Image

    It should also be documented via an example here, although I think the description of the --environment could be improved. Also, this only applies to list - whereas I think pixi global tree --environment <env> is something currently not implemented anyhow.

  3. lucascolley commented on Aug 1, 2025

    @lucascolley
    Member

    It should also be documented via an example here, although I think the description of the --environment could be improved.

    Thanks for looking into this @Carbonhell ! Would you be interested in sending a pull request to improve the description like you mentioned?

    Also, this only applies to list - whereas I think pixi global tree --environment is something currently not implemented anyhow.

    I'll edit the title here to reflect this.

  4. changed the title [-]pixi CLI should support showing the packages intalled in a global env[/-] [+]feat(global): `tree` output[/+] on Aug 1, 2025
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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions