prefix-dev / pixi

Package management made easy
https://pixi.sh
BSD 3-Clause "New" or "Revised" License
2.88k stars 156 forks source link

Make config file/options more discoverable by providing a TUI for `pixi config` #1555

Open corneliusroemer opened 2 months ago

corneliusroemer commented 2 months ago

Problem description

It's great that you have a pixi config file that one can create to e.g. remove the PS1 prompt modification.

Most first time users won't read about that option until they are annoyed about the prompt modification and come here (I'm not the first, there were already three issues before me: https://github.com/prefix-dev/pixi/issues/1533, https://github.com/prefix-dev/pixi/issues/1275, https://github.com/prefix-dev/pixi/issues/523)

It would be great if there was a guided "pixi setup" command that one could run first time, which guides one through the options.

While there is pixi config and in particular pixi config edit, none of these are guided. One needs to consult docs to find out what the config options are.

In contrast, a TUI like the folow of gh auth login would be amazing:

Brave Browser 2024-07-04 01 22 06

Alternatively, pixi config stub could create a commented out config file with guidance on the options.

ruben-arts commented 1 month ago

Yes please! This would be awesome!