How to Install the Magento 2 Cloud CLI?

Blog
Spread the love

Magento Cloud Command Line Interface is a project and environment management tool for Magento Cloud that implements many of the features of the Project web interface. This is done using various Magento 2 CLI commands.

Step 1. Login the magento cloup on the chrome browser.

Step 2. Go to our project root direactory in CLI.

Step 3.Install the magento-cloud CLI:

curl -sS https://accounts.magento.cloud/cli/installer | php

Step 4. Use the following command to add magento-cloud CLI to the bash profile:

export PATH=$PATH:$HOME/.magento-cloud/bin

Step 5. Restart the modernized bash profile:

. ~/.bash_profile

Step 5. Run the command on magento cli:

magento-cloud and check the chrome browser for authentication.

Step 6. Check that the magento-cloud command is in your path. The following piece of code lists common Magento CLI commands:

magento-cloud list

Step 7. For database backup:

magento-cloud db:dump

Step 7. For checking the log:

magento-cloud log

bluethinkinc_blog

bluethinkinc_blog

2022-11-16

0

Leave a Reply

Your email address will not be published. Required fields are marked *

Find More Blogs

How to Add a Custom Tab to the Customer Order Detail Page in Magento 2

Spread the love Adding a custom tab to the Order Detail

Exception Handling in Java

Spread the love Introduction – Exception:An unwanted

How to add custom less file in Magento2

Spread the love Source files *.css included into layout

Spring Boot Microservices

Spread the love Microservices architecture has become

Implementation of WireMock for better testing

Spread the love WireMock is a flexible and powerful tool

Magento 2: How to selected default option in configurable options?

Spread the love Configurable products in Magento 2 allow

How To Implement Simple JWT Authentication in Django Rest Framework

Spread the love We’ll learn how to use simple JWT

Optimizing Search: Integrating Elasticsearch in Django Applications

Spread the love What is Elasticsearch? Elasticsearch is a

How to create Customer Segments

Spread the love In Magento 2, “customer

Proxy Design Pattern and Requisition List in Magento 2

Spread the love Requisition List in Magento 2 Requisition

bluethinkinc Blogs