I tried to install laravel framework with composer in MacOS
composer global require laravel/installer
First error message: Problem 1
- Installation request for laravel/installer ^3.1 -> satisfiable by laravel/installer[v3.1.0].
- laravel/installer v3.1.0 requires ext-zip * -> the requested PHP extension zip is missing from your system.
I am trying to install php.zip:
sudo apt-get install php7.3-zip
And I get next error message:
Unable to locate an executable at "/Library/Java/JavaVirtualMachines/jdk-14.0.1.jdk/Contents/Home/bin/apt" (-1)
How can I solve this installation error chain?