cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 on Mac install

Magento 2 on Mac install

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...

 

 

3 REPLIES 3

Re: Magento 2 on Mac install

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.

Re: Magento 2 on Mac install

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

Re: Magento 2 on Mac install

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