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

Salesforce Admin

Spread the love In our last blog, we discussed common

Unlocking AI with Spring Boot: Real-World Use Cases and Solutions

Spread the love Artificial Intelligence (AI) has moved from

Enhancing Performance with Reactive Java: A Beginner-Friendly Guide

Spread the love In today’s fast-paced software

Integrating Azure Function with Dynamics 365

Spread the love Signup on azure portal and make sure to

How to Create a Power Apps Component Framework (PCF) with React

Spread the love If youʼve been looking to supercharge your

Customize lead qualification for a seamless experience

Spread the love When the 2024 Release Wave 2 was launched,

Create a Custom Console Command in Spryker

Spread the love In Spryker, developers can create custom

SALESFORCE

Spread the love Salesforce is a cloud-based software

CRUD Operation in Spryker Backoffice with a Custom Module

Spread the love Spryker is a highly flexible and modular

How to create custom module on Spryker for Backoffice?

Spread the love Creating a custom module in Spryker

bluethinkinc Blogs