Developers and system administrators can use the Magento-Cloud CLI tool to manage cloud environments and projects, carry out regular chores and execute automation jobs. The Magento-Cloud CLI expands the Cloud Console’s features and capabilities. After installing it on your local computer, you can use the Magento-Cloud CLI to manage your Adobe Commerce cloud infrastructure in the Starter and Pro integration environments.
Developers can easily manage the console cloud from their local system by using Adobe Commerce Cloud CLI commands. We must install Adobe Commerce Cloud CLI to use the powerful Adobe Commerce console command.
We will install the Adobe Commerce Cloud CLI in this post.
Magento 2: How to Install Adobe Commerce Cloud CLI
- Please check the access to the file system. The file system user must have write access.
- Once you are good with the file system access, you should go with the installation step. To install Adobe Commerce Cloud CLI, use the below command:
curl -sS https://accounts.magento.cloud/cli/installer | php
- Update the bash profile with the Magento Cloud CLI.
export PATH=$PATH:$HOME/.magento-cloud/bin
- Reload the updated bash profile.
. ~/.bash_profile
- Call magento-cloud and provide your cloud account credentials when requested to launch the CLI.
magento-cloud
Make sure the command magento-cloud is on your path. The available commands are listed in the example that follows.
magento-cloud list
That’s it for installing the Adobe Commerce Cloud CLI. We will check the Adobe Commerce Cloud CLI commands in the next post.
Thanks for reading the post, Magento 2: How to Install Adobe Commerce Cloud CLI. We have observed that a message queue is essential for managing asynchronized data without loading the server. https://sbdevblog.com/magento-2-how-to-create-a-message-queue/
Visit our GIT: https://github.com/sbdevblog
Note: Please verify the code of this blog and the relevant git repository before using it in production.
🙂 HAPPY CODING 🙂
2 thoughts on “Magento 2: How to Install Adobe Commerce Cloud CLI”