Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sudo/permissions issue #1295

Open
LoricAndre opened this issue Jun 29, 2024 · 0 comments
Open

sudo/permissions issue #1295

LoricAndre opened this issue Jun 29, 2024 · 0 comments
Labels
🐛 bug Something isn't working, or a fix is proposed

Comments

@LoricAndre
Copy link

What happened?

After installing MPM, I tried mpm upgrade but got a permission error, since npm and pip tried to install global packages as the current user.

Is there a way to specify in the config file where mpm should use sudo or not ?

Meta Package Manager configuration

╭────────────────────────────┬─────────────────────────────────────────┬─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬─────────────────────────────┬─────────────┬────────┬─────────┬──────────────────┬───────────────────────────────────────────┬────────────────────────────────────────────────────────┬────────────────────────────────────────────────────────┬─────────────╮
│ �[1mID�[0m                         │ �[1mClass�[0m                                   │ �[1mSpec.�[0m                                                                                                                                                                                                                                                                                                                                                                                                                           │ �[1mParam type�[0m                  │ �[1mPython type�[0m │ �[1mHidden�[0m │ �[1mExposed�[0m │ �[1mAllowed in conf?�[0m │ �[1mEnv. vars.�[0m                                │ �[1mDefault�[0m                                                │ �[1mValue�[0m                                                  │ �[1mSource�[0m      │
├────────────────────────────┼─────────────────────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼─────────────────────────────┼─────────────┼────────┼─────────┼──────────────────┼───────────────────────────────────────────┼────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────┼─────────────┤
│ �[97mmpm.all_managers�[0m           │ cloup._params.Option                    │ -a, --all-managers                                                                                                                                                                                                                                                                                                                                                                                                              │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[32m✓�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_ALL_MANAGERS�[0m                          │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.apm�[0m                    │ cloup._params.Option                    │ --apm                                                                                                                                                                                                                                                                                                                                                                                                                           │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_APM�[0m                                   │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.apt�[0m                    │ cloup._params.Option                    │ --apt                                                                                                                                                                                                                                                                                                                                                                                                                           │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_APT�[0m                                   │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.apt_mint�[0m               │ cloup._params.Option                    │ --apt-mint                                                                                                                                                                                                                                                                                                                                                                                                                      │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_APT_MINT�[0m                              │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.bar_plugin_path�[0m        │ cloup._params.Option                    │ --bar-plugin-path                                                                                                                                                                                                                                                                                                                                                                                                               │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_BAR_PLUGIN_PATH�[0m                       │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.brew�[0m                   │ cloup._params.Option                    │ --brew                                                                                                                                                                                                                                                                                                                                                                                                                          │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_BREW�[0m                                  │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.cargo�[0m                  │ cloup._params.Option                    │ --cargo                                                                                                                                                                                                                                                                                                                                                                                                                         │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_CARGO�[0m                                 │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.cask�[0m                   │ cloup._params.Option                    │ --cask                                                                                                                                                                                                                                                                                                                                                                                                                          │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_CASK�[0m                                  │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.choco�[0m                  │ cloup._params.Option                    │ --choco                                                                                                                                                                                                                                                                                                                                                                                                                         │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_CHOCO�[0m                                 │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.color�[0m                  │ click_extra.colorize.ColorOption        │ --color, --ansi / --no-color, --no-ansi                                                                                                                                                                                                                                                                                                                                                                                         │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_COLOR�[0m                                 │ �[32m�[2m�[3mTrue�[0m                                                   │ True                                                   │ DEFAULT     │
│ �[97mmpm.composer�[0m               │ cloup._params.Option                    │ --composer                                                                                                                                                                                                                                                                                                                                                                                                                      │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_COMPOSER�[0m                              │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.config�[0m                 │ click_extra.config.ConfigOption         │ -C, --config CONFIG_PATH                                                                                                                                                                                                                                                                                                                                                                                                        │ click.types.StringParamType │ str         │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[31m✘�[0m                │ �[33m�[2mMPM_CONFIG�[0m                                │ �[32m�[2m�[3m/home/loric/.config/mpm/*.{toml,yaml,yml,json,ini,xml}�[0m │ /home/loric/.config/mpm/*.{toml,yaml,yml,json,ini,xml} │ DEFAULT     │
│ �[97mmpm.description�[0m            │ cloup._params.Option                    │ --description                                                                                                                                                                                                                                                                                                                                                                                                                   │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[32m✓�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_DESCRIPTION�[0m                           │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.dnf�[0m                    │ cloup._params.Option                    │ --dnf                                                                                                                                                                                                                                                                                                                                                                                                                           │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_DNF�[0m                                   │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.dry_run�[0m                │ cloup._params.Option                    │ -d, --dry-run                                                                                                                                                                                                                                                                                                                                                                                                                   │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[32m✓�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_DRY_RUN�[0m                               │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.emerge�[0m                 │ cloup._params.Option                    │ --emerge                                                                                                                                                                                                                                                                                                                                                                                                                        │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_EMERGE�[0m                                │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.exclude�[0m                │ cloup._params.Option                    │ -e, --exclude [apm|apt|apt-mint|brew|cargo|cask|choco|composer|dnf|emerge|flatpak|gem|mas|npm|opkg|pacaur|pacman|paru|pip|pipx|pkg|scoop|snap|steamcmd|vscode|winget|yarn|yay|yum|zypper]                                                                                                                                                                                                                                       │ click.types.Choice          │ list        │ �[31m✘�[0m      │ �[32m✓�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_EXCLUDE�[0m                               │ �[32m�[2m�[3mNone�[0m                                                   │                                                        │ DEFAULT     │
│ �[97mmpm.flatpak�[0m                │ cloup._params.Option                    │ --flatpak                                                                                                                                                                                                                                                                                                                                                                                                                       │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_FLATPAK�[0m                               │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.gem�[0m                    │ cloup._params.Option                    │ --gem                                                                                                                                                                                                                                                                                                                                                                                                                           │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_GEM�[0m                                   │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.help�[0m                   │ click_extra.colorize.HelpOption         │ -h, --help                                                                                                                                                                                                                                                                                                                                                                                                                      │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[31m✘�[0m                │ �[33m�[2mMPM_HELP�[0m                                  │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.ignore_auto_updates�[0m    │ cloup._params.Option                    │ --ignore-auto-updates / --include-auto-updates                                                                                                                                                                                                                                                                                                                                                                                  │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[32m✓�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_IGNORE_AUTO_UPDATES�[0m                   │ �[32m�[2m�[3mTrue�[0m                                                   │ True                                                   │ DEFAULT     │
│ �[97mmpm.manager�[0m                │ cloup._params.Option                    │ -m, --manager [apm|apt|apt-mint|brew|cargo|cask|choco|composer|dnf|emerge|flatpak|gem|mas|npm|opkg|pacaur|pacman|paru|pip|pipx|pkg|scoop|snap|steamcmd|vscode|winget|yarn|yay|yum|zypper]                                                                                                                                                                                                                                       │ click.types.Choice          │ list        │ �[31m✘�[0m      │ �[32m✓�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_MANAGER�[0m                               │ �[32m�[2m�[3mNone�[0m                                                   │                                                        │ DEFAULT     │
│ �[97mmpm.mas�[0m                    │ cloup._params.Option                    │ --mas                                                                                                                                                                                                                                                                                                                                                                                                                           │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_MAS�[0m                                   │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.npm�[0m                    │ cloup._params.Option                    │ --npm                                                                                                                                                                                                                                                                                                                                                                                                                           │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_NPM�[0m                                   │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.opkg�[0m                   │ cloup._params.Option                    │ --opkg                                                                                                                                                                                                                                                                                                                                                                                                                          │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_OPKG�[0m                                  │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.output_format�[0m          │ click_extra.tabulate.TableFormatOption  │ -o, --output-format [asciidoc|csv|csv-excel|csv-excel-tab|csv-unix|double_grid|double_outline|fancy_grid|fancy_outline|github|grid|heavy_grid|heavy_outline|html|jira|json|latex|latex_booktabs|latex_longtable|latex_raw|mediawiki|mixed_grid|mixed_outline|moinmoin|orgtbl|outline|pipe|plain|presto|pretty|psql|rounded_grid|rounded_outline|rst|simple|simple_grid|simple_outline|textile|tsv|unsafehtml|vertical|youtrack] │ click.types.Choice          │ str         │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_OUTPUT_FORMAT�[0m                         │ �[32m�[2m�[3mrounded_outline�[0m                                        │ rounded_outline                                        │ DEFAULT     │
│ �[97mmpm.pacaur�[0m                 │ cloup._params.Option                    │ --pacaur                                                                                                                                                                                                                                                                                                                                                                                                                        │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_PACAUR�[0m                                │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.pacman�[0m                 │ cloup._params.Option                    │ --pacman                                                                                                                                                                                                                                                                                                                                                                                                                        │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_PACMAN�[0m                                │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.paru�[0m                   │ cloup._params.Option                    │ --paru                                                                                                                                                                                                                                                                                                                                                                                                                          │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_PARU�[0m                                  │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.pip�[0m                    │ cloup._params.Option                    │ --pip                                                                                                                                                                                                                                                                                                                                                                                                                           │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_PIP�[0m                                   │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.pipx�[0m                   │ cloup._params.Option                    │ --pipx                                                                                                                                                                                                                                                                                                                                                                                                                          │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_PIPX�[0m                                  │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.pkg�[0m                    │ cloup._params.Option                    │ --pkg                                                                                                                                                                                                                                                                                                                                                                                                                           │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_PKG�[0m                                   │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.scoop�[0m                  │ cloup._params.Option                    │ --scoop                                                                                                                                                                                                                                                                                                                                                                                                                         │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_SCOOP�[0m                                 │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.show_params�[0m            │ click_extra.parameters.ShowParamsOption │ --show-params                                                                                                                                                                                                                                                                                                                                                                                                                   │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[31m✘�[0m                │ �[33m�[2mMPM_SHOW_PARAMS�[0m                           │ �[32m�[2m�[3mFalse�[0m                                                  │ True                                                   │ COMMANDLINE │
│ �[97mmpm.snap�[0m                   │ cloup._params.Option                    │ --snap                                                                                                                                                                                                                                                                                                                                                                                                                          │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_SNAP�[0m                                  │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.sort_by�[0m                │ cloup._params.Option                    │ -s, --sort-by [manager_id|manager_name|package_id|package_name|version]                                                                                                                                                                                                                                                                                                                                                         │ click.types.Choice          │ str         │ �[31m✘�[0m      │ �[32m✓�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_SORT_BY�[0m                               │ �[32m�[2m�[3mmanager_id�[0m                                             │ manager_id                                             │ DEFAULT     │
│ �[97mmpm.stats�[0m                  │ cloup._params.Option                    │ --stats / --no-stats                                                                                                                                                                                                                                                                                                                                                                                                            │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[32m✓�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_STATS�[0m                                 │ �[32m�[2m�[3mTrue�[0m                                                   │ True                                                   │ DEFAULT     │
│ �[97mmpm.steamcmd�[0m               │ cloup._params.Option                    │ --steamcmd                                                                                                                                                                                                                                                                                                                                                                                                                      │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_STEAMCMD�[0m                              │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.stop_on_error�[0m          │ cloup._params.Option                    │ --stop-on-error / --continue-on-error                                                                                                                                                                                                                                                                                                                                                                                           │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[32m✓�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_STOP_ON_ERROR�[0m                         │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.time�[0m                   │ click_extra.timer.TimerOption           │ --time / --no-time                                                                                                                                                                                                                                                                                                                                                                                                              │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_TIME�[0m                                  │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.timeout�[0m                │ cloup._params.Option                    │ -t, --timeout INTEGER RANGE                                                                                                                                                                                                                                                                                                                                                                                                     │ click.types.IntRange        │ int         │ �[31m✘�[0m      │ �[32m✓�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_TIMEOUT�[0m                               │ �[32m�[2m�[3m500�[0m                                                    │ 500                                                    │ DEFAULT     │
│ �[97mmpm.verbosity�[0m              │ click_extra.logging.VerbosityOption     │ -v, --verbosity LEVEL                                                                                                                                                                                                                                                                                                                                                                                                           │ click.types.Choice          │ str         │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_VERBOSITY�[0m                             │ �[32m�[2m�[3mINFO�[0m                                                   │ INFO                                                   │ DEFAULT_MAP │
│ �[97mmpm.version�[0m                │ click_extra.version.ExtraVersionOption  │ --version                                                                                                                                                                                                                                                                                                                                                                                                                       │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[31m✘�[0m                │ �[33m�[2mMPM_VERSION�[0m                               │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.vscode�[0m                 │ cloup._params.Option                    │ --vscode                                                                                                                                                                                                                                                                                                                                                                                                                        │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_VSCODE�[0m                                │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.winget�[0m                 │ cloup._params.Option                    │ --winget                                                                                                                                                                                                                                                                                                                                                                                                                        │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_WINGET�[0m                                │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.xkcd�[0m                   │ cloup._params.Option                    │ -x, --xkcd                                                                                                                                                                                                                                                                                                                                                                                                                      │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[32m✓�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_XKCD�[0m                                  │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.yarn�[0m                   │ cloup._params.Option                    │ --yarn                                                                                                                                                                                                                                                                                                                                                                                                                          │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_YARN�[0m                                  │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.yay�[0m                    │ cloup._params.Option                    │ --yay                                                                                                                                                                                                                                                                                                                                                                                                                           │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_YAY�[0m                                   │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.yum�[0m                    │ cloup._params.Option                    │ --yum                                                                                                                                                                                                                                                                                                                                                                                                                           │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_YUM�[0m                                   │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.zypper�[0m                 │ cloup._params.Option                    │ --zypper                                                                                                                                                                                                                                                                                                                                                                                                                        │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[31m✘�[0m       │ �[32m✓�[0m                │ �[33m�[2mMPM_ZYPPER�[0m                                │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.backup.merge�[0m           │ cloup._params.Option                    │ --merge                                                                                                                                                                                                                                                                                                                                                                                                                         │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[32m✓�[0m       │ �[32m✓�[0m                │ �[33m�[2mBACKUP_MERGE�[0m, �[33m�[2mMPM_MERGE�[0m                   │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.backup.overwrite�[0m       │ cloup._params.Option                    │ --overwrite, --force, --replace                                                                                                                                                                                                                                                                                                                                                                                                 │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[32m✓�[0m       │ �[32m✓�[0m                │ �[33m�[2mBACKUP_OVERWRITE�[0m, �[33m�[2mMPM_OVERWRITE�[0m           │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.backup.toml_path�[0m       │ cloup._params.Argument                  │                                                                                                                                                                                                                                                                                                                                                                                                                                 │ click.types.Path            │ str         │        │ �[32m✓�[0m       │ �[32m✓�[0m                │                                           │ �[32m�[2m�[3m-�[0m                                                      │ -                                                      │ DEFAULT     │
│ �[97mmpm.backup.update_version�[0m  │ cloup._params.Option                    │ --update-version                                                                                                                                                                                                                                                                                                                                                                                                                │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[32m✓�[0m       │ �[32m✓�[0m                │ �[33m�[2mBACKUP_UPDATE_VERSION�[0m, �[33m�[2mMPM_UPDATE_VERSION�[0m │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.install.packages_specs�[0m │ cloup._params.Argument                  │                                                                                                                                                                                                                                                                                                                                                                                                                                 │ click.types.StringParamType │ list        │        │ �[32m✓�[0m       │ �[32m✓�[0m                │                                           │ �[32m�[2m�[3mNone�[0m                                                   │                                                        │ DEFAULT     │
│ �[97mmpm.installed.duplicates�[0m   │ cloup._params.Option                    │ -d, --duplicates                                                                                                                                                                                                                                                                                                                                                                                                                │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[32m✓�[0m       │ �[32m✓�[0m                │ �[33m�[2mINSTALLED_DUPLICATES�[0m, �[33m�[2mMPM_DUPLICATES�[0m      │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.outdated.plugin_output�[0m │ cloup._params.Option                    │ --plugin-output                                                                                                                                                                                                                                                                                                                                                                                                                 │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[32m✓�[0m       │ �[32m✓�[0m                │ �[33m�[2mOUTDATED_PLUGIN_OUTPUT�[0m, �[33m�[2mMPM_PLUGIN_OUTPUT�[0m │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.remove.packages_specs�[0m  │ cloup._params.Argument                  │                                                                                                                                                                                                                                                                                                                                                                                                                                 │ click.types.StringParamType │ list        │        │ �[32m✓�[0m       │ �[32m✓�[0m                │                                           │ �[32m�[2m�[3mNone�[0m                                                   │                                                        │ DEFAULT     │
│ �[97mmpm.restore.toml_files�[0m     │ cloup._params.Argument                  │                                                                                                                                                                                                                                                                                                                                                                                                                                 │ click.types.File            │ list        │        │ �[32m✓�[0m       │ �[32m✓�[0m                │                                           │ �[32m�[2m�[3mNone�[0m                                                   │                                                        │ DEFAULT     │
│ �[97mmpm.search.exact�[0m           │ cloup._params.Option                    │ --exact / --fuzzy                                                                                                                                                                                                                                                                                                                                                                                                               │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[32m✓�[0m       │ �[32m✓�[0m                │ �[33m�[2mSEARCH_EXACT�[0m, �[33m�[2mMPM_EXACT�[0m                   │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.search.extended�[0m        │ cloup._params.Option                    │ --extended / --id-name-only                                                                                                                                                                                                                                                                                                                                                                                                     │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[32m✓�[0m       │ �[32m✓�[0m                │ �[33m�[2mSEARCH_EXTENDED�[0m, �[33m�[2mMPM_EXTENDED�[0m             │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.search.query�[0m           │ cloup._params.Argument                  │                                                                                                                                                                                                                                                                                                                                                                                                                                 │ click.types.StringParamType │ str         │        │ �[32m✓�[0m       │ �[32m✓�[0m                │                                           │ �[32m�[2m�[3mNone�[0m                                                   │                                                        │ DEFAULT     │
│ �[97mmpm.search.refilter�[0m        │ cloup._params.Option                    │ --refilter / --no-refilter                                                                                                                                                                                                                                                                                                                                                                                                      │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[32m✓�[0m       │ �[32m✓�[0m                │ �[33m�[2mSEARCH_REFILTER�[0m, �[33m�[2mMPM_REFILTER�[0m             │ �[32m�[2m�[3mTrue�[0m                                                   │ True                                                   │ DEFAULT     │
│ �[97mmpm.upgrade.all�[0m            │ cloup._params.Option                    │ -A, --all                                                                                                                                                                                                                                                                                                                                                                                                                       │ click.types.BoolParamType   │ bool        │ �[31m✘�[0m      │ �[32m✓�[0m       │ �[32m✓�[0m                │ �[33m�[2mUPGRADE_ALL�[0m, �[33m�[2mMPM_ALL�[0m                      │ �[32m�[2m�[3mFalse�[0m                                                  │ False                                                  │ DEFAULT     │
│ �[97mmpm.upgrade.packages_specs�[0m │ cloup._params.Argument                  │                                                                                                                                                                                                                                                                                                                                                                                                                                 │ click.types.StringParamType │ list        │        │ �[32m✓�[0m       │ �[32m✓�[0m                │                                           │ �[32m�[2m�[3mNone�[0m                                                   │                                                        │ DEFAULT     │
│ �[97mmpm.which.cli_names�[0m        │ cloup._params.Argument                  │                                                                                                                                                                                                                                                                                                                                                                                                                                 │ click.types.StringParamType │ list        │        │ �[32m✓�[0m       │ �[32m✓�[0m                │                                           │ �[32m�[2m�[3mNone�[0m                                                   │                                                        │ DEFAULT     │
╰────────────────────────────┴─────────────────────────────────────────┴─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴─────────────────────────────┴─────────────┴────────┴─────────┴──────────────────┴───────────────────────────────────────────┴────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────┴─────────────╯


### List package managers

```shell-session
╭────────────┬──────────────┬───────────┬───────────────┬────────────┬──────────╮
│ �[1mManager ID�[0m │ �[1mName�[0m         │ �[1mSupported�[0m │ �[1mCLI�[0m           │ �[1mExecutable�[0m │ �[1mVersion�[0m  │
├────────────┼──────────────┼───────────┼───────────────┼────────────┼──────────┤
│ �[32mcargo�[0m      │ Rust's cargo │ �[32m✓�[0m         │ �[32m✓�[0m /sbin/�[97mcargo�[0m │ �[32m✓�[0m          │ �[32m✓�[0m 1.78.0 │
│ �[32mgem�[0m        │ Ruby Gems    │ �[32m✓�[0m         │ �[32m✓�[0m /sbin/�[97mgem�[0m   │ �[32m✓�[0m          │ �[32m✓�[0m 3.3.25 │
│ �[32mnpm�[0m        │ Node's npm   │ �[32m✓�[0m         │ �[32m✓�[0m /sbin/�[97mnpm�[0m   │ �[32m✓�[0m          │ �[32m✓�[0m 10.8.1 │
│ �[32mparu�[0m       │ Paru         │ �[32m✓�[0m         │ �[32m✓�[0m /sbin/�[97mparu�[0m  │ �[32m✓�[0m          │ �[32m✓�[0m 2.0.3  │
│ �[32mpipx�[0m       │ Pipx         │ �[32m✓�[0m         │ �[32m✓�[0m /sbin/�[97mpipx�[0m  │ �[32m✓�[0m          │ �[32m✓�[0m 1.6.0  │
╰────────────┴──────────────┴───────────┴───────────────┴────────────┴──────────╯


### Binary path resolution

```shell-session
╭────────────┬──────────┬──────────────┬───────────────────────╮
│ �[1mManager ID�[0m │ �[1mPriority�[0m │ �[1mCLI path�[0m     │ �[1mSymlink destination�[0m   │
├────────────┼──────────┼──────────────┼───────────────────────┤
│ cargo      │ 0        │ /sbin/�[97mpython�[0m │ → /usr/bin/python3.12 │
│ gem        │ 0        │ /sbin/�[97mpython�[0m │ → /usr/bin/python3.12 │
│ npm        │ 0        │ /sbin/�[97mpython�[0m │ → /usr/bin/python3.12 │
│ paru       │ 0        │ /sbin/�[97mpython�[0m │ → /usr/bin/python3.12 │
│ pipx       │ 0        │ /sbin/�[97mpython�[0m │ → /usr/bin/python3.12 │
╰────────────┴──────────┴──────────────┴───────────────────────╯


### Meta Package Manager version

```shell-session
�[97mmpm�[0m, version �[32m5.16.0�[0m
@LoricAndre LoricAndre added the 🐛 bug Something isn't working, or a fix is proposed label Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working, or a fix is proposed
Projects
None yet
Development

No branches or pull requests

1 participant