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

Proxy Design Pattern and Requisition List in Magento 2

Spread the love Requisition List in Magento 2 Requisition

Google Ads Conversion Tracking Through Magento Platform:

Spread the love Google Ads Conversion Tracking Through

Object Pool Pattern in Magento2

Spread the love What is Object Pool Pattern in Magento 2 An

JENKINS

Spread the love JENKINS Introduction and Installation

Virtual Type and Type

Spread the love Virtual type is one of the most common

Customize the length of Input field

Spread the love Sometimes we need to change the limit the

How to Add Custom Tab on Admin Dashboard and Count Website Total Visitor in Magento 2?

Spread the love In this blog we’ll see How to Add Custom

How to Add Sign Out Tab in Customer Account in Magento 2?

Spread the love In this blog we’ll see How to Add

How to create custom tab in product detail page in magento 2?

Spread the love In this blog we’ll see how to add

Understanding and Implementing CORS & CSRF

Spread the love What is security? The world has become more

bluethinkinc Blogs