sudo: add-apt-repository: command not found
drewgallagher opened this issue · 1 comments
drewgallagher commented
When trying to install the extension, I get the following error on Mac OS Monterey
➜ ~ sudo add-apt-repository ppa:ondrej/php
Password:
sudo: add-apt-repository: command not found
➜ ~
Sairahcaz commented
Hi @drewgallagher you can't use add-apt-repository
on Mac since it's a Linux/Ubuntu command.
I guess you have to use Homebrew for that. You may try: brew install php-xhprof