Updating Blade CLI

If your Blade CLI version is outdated, you can run the following command to automatically download and install the latest version of Blade CLI:

blade update

Blade CLI is updated frequently, so it’s recommended to update your Blade CLI environment for new features. You can check the released versions of Blade CLI on Nexus by inspecting the com.liferay.blade.cli. artifact. You can check your current installed version by running blade version. When running blade version, you are notified if there’s a newer Blade CLI version available.

Although Blade CLI is frequently released, if you want bleeding edge features not yet available, you can install the latest snapshot version:

blade update -s

This pulls the latest snapshot version of Blade CLI and installs it to your local machine. Running blade version after installing a snapshot displays output similar to this:

blade version 3.3.1.SNAPSHOT201811301746

Be careful; snapshot versions are unstable and should only be used for experimental purposes.

Awesome! You’ve successfully learned how to update Blade CLI.

« Managing Your Liferay Server with Blade CLIConverting Plugins SDK Projects with Blade CLI »
Este artigo foi útil?
Utilizadores que acharam útil: 0 de 0