Use the Bitnami Magento CLI tool

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and Mac OS X) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). Learn more.

The Bitnami Magento Stack uses the file system ownership for one user approach.

In order to solve permissions and ownership issues, Bitnami has created the magento-cli tool. This can replace the regular magento command-line interface. To use it, execute a Magento command as shown below. Remember to replace the YOUR_MAGENTO_COMMAND placeholder with the command to be executed.

Linux and macOS

$ cd installdir/apps/magento/htdocs/
$ sudo bin/magento-cli YOUR_MAGENTO_COMMAND


$ cd installdir/apps/magento/htdocs/
$ php .\bin\magento YOUR_MAGENTO_COMMAND
Last modification November 30, 2018