Package Managers

From Colettapedia
Jump to navigation Jump to search


  • brew help
  • brew commands
  • brew install formula
  • brew upgrade formula
  • brew list --versions - lists installed only
  • brew info formula
  • brew reinstall
  • brew install --cask messenger --appdir=~/Applications/


  • pip install --force-reinstall --upgrade
  • pip show -f <package> - show info on what got installed where, -f gives list of files
  • pip install jedi==0.17.2 - when downgrading a version use double == (compared with conda's single =)


  • Managing conda environments
  • conda update -n base -c defaults conda
  • conda info
  • conda config --show
    • conda config --add channels conda-forge
    • conda config --set channel_priority strict
  • conda init zsh
  • command -v conda - alternative to which conda for zsh
  • conda list and pip list - list installed packages
  • conda env list
  • conda activate rstanenv
  • conda install -c conda-forge r-mcmcglmm r-brms
  • conda update conda
  • conda create --name CondaR -c r -c conda-forge r-lme4 r-tidyverse r-broom.mixed r-skimr r-tictoc r-rlang r-magrittr r-glue r-performance r-ggally r-irkernel r-furrr r-mice r-glmnet jupyterlab r-plotly r-rbokeh r-glmmtmb
  • conda env remove -n rstanenv
  • conda create --name py310 python=3.10 jupyterlab pandas ruff pylint numpy scipy matplotlib scikit-learn scikit-image seaborn statsmodels
  • conda search mxnet
  • conda install -y boost
  • conda install -c conda-forge <package name>
  • conda update -n base -c defaults conda - Update base conda


  • Run as administrator to install stuff
  • Chocolatey - windows package manager - does hash
  • choco -?
  • choco list -l - list locally installed packages only
  • choco upgrade chocolatey
  • choco uninstall


  • DNF = "dandified yum"
  • "DNF is the next upcoming major version of YUM, a package manager for RPM-based Linux distributions. It roughly maintains CLI compatibility with YUM and defines a strict API for extensions and plugins."


  • apt list --installed