Un gestionnaire de paquets pour macOS
Installer Homebrew (brew) :
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Installer un paquet :
brew install <package-name>
Chercher un paquet :
brew search <package-name>
Afficher tous les paquets disponibles :
Afficher tous les paquets installés :
Mettre à jour la liste des paquets :
Supprimer le paquet :
brew remove <package-name>
Error: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences.
If that doesn’t show you any updates, run :
sudo rm -rf /Library/Developer/CommandLineTools sudo xcode-select --install
Alternatively, manually download them from :
You should download the Command Line Tools for Xcode 12.4.
Error: You are using macOS 10.15. We (and Apple) do not provide support for this old version. It is expected behaviour that some formulae will fail to build in this old version. It is expected behaviour that Homebrew will be buggy and slow. Do not create any issues about this on Homebrew's GitHub repositories. Do not create any issues even if you think this message is unrelated. Any opened issues will be immediately closed without response. Do not ask for help from MacHomebrew on Twitter. You may ask for help in Homebrew's discussions but are unlikely to receive a response. Try to figure out the problem yourself and submit a fix as a pull request. We will review it but may or may not accept it.
MacBook-Pro-de-Fabrice:~ fabricegeib$ brew update Error: Fetching /usr/local failed! MacBook-Pro-de-Fabrice:~ fabricegeib$ brew update ==> Migrating Homebrew to v0.9.9 remote: Counting objects: 954, done. remote: Compressing objects: 100% (890/890), done. remote: Total 954 (delta 182), reused 301 (delta 38), pack-reused 0 Receiving objects: 100% (954/954), 895.75 KiB | 117.00 KiB/s, done. Resolving deltas: 100% (182/182), completed with 105 local objects. From https://github.com/Homebrew/brew + 5a9e19f...6648ff1 master -> origin/master (forced update) HEAD is now at 6648ff1 Merge pull request #1706 from apjanke/deps-all-full-name ==> Homebrew has enabled anonymous aggregate user behaviour analytics. Read the analytics documentation (and how to opt-out) here: https://git.io/brew-analytics ==> Tapping homebrew/core Cloning into '/usr/local/Library/Taps/homebrew/homebrew-core'... remote: Counting objects: 3801, done. remote: Compressing objects: 100% (3683/3683), done. remote: Total 3801 (delta 20), reused 315 (delta 6), pack-reused 0 Receiving objects: 100% (3801/3801), 3.03 MiB | 47.00 KiB/s, done. Resolving deltas: 100% (20/20), done. Checking connectivity... done. Tapped 3677 formulae (3,829 files, 9.5M) ==> Cleaning up /Library/Caches/Homebrew... Removing: /Library/Caches/Homebrew/git-2.7.2.el_capitan.bottle.tar.gz... (11M) Removing: /Library/Caches/Homebrew/mysql-5.7.11.el_capitan.bottle.tar.gz... (92.1M) Removing: /Library/Caches/Homebrew/node-5.7.1.el_capitan.bottle.tar.gz... (9.9M) Removing: /Library/Caches/Homebrew/openssl-1.0.2g.el_capitan.bottle.tar.gz... (3.6M) Removing: /Library/Caches/Homebrew/wget-1.17.1.el_capitan.bottle.1.tar.gz... (545.1K) ==> Migrating /Library/Caches/Homebrew to /Users/fabricegeib/Library/Caches/Home ==> Deleting /Library/Caches/Homebrew... Already up-to-date. ==> Migrating HOMEBREW_REPOSITORY (please wait)... ==> Migrated HOMEBREW_REPOSITORY to /usr/local/Homebrew! Homebrew no longer needs to have ownership of /usr/local. If you wish you can return /usr/local to its default ownership with: sudo chown root:wheel /usr/local