How to install Magento 2.4 via command line?

With the new release of Magento 2.4 it’s not possible to install Magento via the simple web installer. I’m trying to install via command line as described in the documentation but I’m facing many issues.

When I run

magento setup:install 

I get this error:

SQLSTATE[HY000] [1045] Access denied for user ‘root’@’localhost’ (using password: NO)

What does this mean? Any help would be appreciated.

Thanks in advance

submitted by /u/zlep
[link] [comments]