Posts

Showing posts from June, 2025

Liferay Cloud CLI Introduction

Image
Liferay Cloud CLI Introduction How to manage Liferay Cloud using CLI 1. CLI Installation Install Liferay Cloud CLI using command: curl https://cdn.liferay.cloud/lcp/stable/latest/install.sh -fsSL | bash Verify installation: lcp version Note :  on Linux you can also create a symbolic link in /bin/bash directory to make lcp command available from any location. 2. Enable Shell Access In order to access the Liferay Cloud environment with the shell - the Shell Access must be enabled. Navigate to Settings → Access in your Liferay Cloud Console and enable the Shell Access: 3. Accessing the Shell Run lcp shell command to access the shell: Log in to Liferay Cloud Console: and specify the service name.  For liferay service also specify the instance to connect to: Now you’re connected to the Liferay server and can perform required checks and operations. 4. Accessing Logs You can check server logs with the lcp log command. See the list of available services using lcp list command: and c...