#7105·pixi

feat(manifest): add `description` field for environments

Author: timhoffmCreated Sep 27, 2026Updated Oct 1, 2026
Labelsenhancementhelp wantedapproved

Problem description

When using non-trivial environments, I resort to comment for describing the environments

toml
[environments]
# environment for integration tests using a development server
test-integration = { features = ["test", "dev-server"] }

It would be nice, if environments would gain a field description, similar to tasks. A field is a bit better integrated than just a comment and e.g. pixi info could show the description for the environments, which would be a usability gain because then we not only see what the environment is, but a description could convey why it exists / its purpose.

I would like to be able to do

toml
[environments]
test-integration = { features = ["test", "dev-server"], description = "environment for integration tests using a development server" }

while this is a little less readable than the comment, that will be fixed with the yet unreleased TOML v1.1 spec, because then one could also write

toml
[environments]
test-integration = {
  description = "environment for integration tests using a development server",
  features = ["test", "dev-server"],
}