I get "Too many arguments, expected arguments" when I use the template php magento/bin setup:install \ --admin-firstname=John \ --admin-lastname=Smith \ [email protected] \ --admin-user=admin \ --admin-password=password1 \ --base-url=http://magento.local/ \ --db-host=localhost \ --db-name=magento \ --db-user=magento \ --db-password=magento \ --currency=USD \ --timezone=America/Chicago \ --language=en_US \ --use-rewrites=1

1 Answer 1


The back slash \ is there to hash out the hidden line return. However if you have typed in the command from the official documentation into your linux command line without the hidden linefeeds this error will appear.

Simply remove the back slashes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.