Installing Blade CLI from Command Line
Installing Blade CLI from Command Line
Download JPM Jar file
Download biz.aQute.jpm.run.jar file using link:
Initialize JPM
Run command:
java -jar biz.aQute.jpm.run.jar init
Install Blade
Run command:
jpm install -f https://releases.liferay.com/tools/blade-cli/latest/blade.jar
to install blade.
Update blade to make sure you have the latest version, sample:
blade update
Current blade version 3.3.0.201811151753
Updating from: https://repository-cdn.liferay.com/nexus/content/repositories/liferay-public-releases/com/liferay/blade/com.liferay.blade.cli//3.8.0/com.liferay.blade.cli-3.8.0.jar
Update completed successfully.
Congratulations! Now you have Blade CLI installed. Sample command for mvc-portlet:
blade create -t mvc-portlet -p com.demo.portlet -c DemoPortlet demo-portlet
Enjoy 😏
Comments
Post a Comment