Running cmd on MacOS
using MAMP as the linux server
Magento2-2.3
I am in the root directory of my magento server
xxxxxx@Peters-MBP magento2-2.3 %
if I type in magento:install or php magento:install I get
Could not open input file: bin\magento:install
the file is there as you can see
xxxxxxx@Peters-MBP bin % ls
magento
So frustrating...
It seems like you are trying to run the Magento 2 installation command in the wrong directory. To run the command, navigate to the root directory of your Magento installation and then run the command as "php bin/magento setup:install". Make sure that you have all the required dependencies and configurations set up for your Magento installation.
Is this not already my top directory ?
xxxxxx@Peters-MBP magento2-2.3
CHANGELOG.md
auth.json.sample
lib
COPYING.txt
bin
nginx.conf.sample
Gruntfile.js.sample
composer.json
package.json.sample
LICENSE.txt
composer.lock
phpserver
LICENSE_AFL.txt
dev
pub
README.md
generated setup
SECURITY.md
grunt-config.json.sample
var
app
index.php
vendor
I ran your command..got another error
xxxxx@Peters-MBP magento2-2.3 % php bin/magento setup:install
SQLSTATE[HY000] [2002] No such file or directory
In InstallCommand.php line 264:
Parameter validation failed
To run the Magento installation command on macOS using MAMP as the server, follow these steps:
If you encounter any issues, provide more details such as your Magento installation setup and any error messages received.
The key steps involved are as follows:
By following these steps, users can successfully install Magento 2 on macOS for local development purposes.