Once you have downloaded the Liquibase-Version#-bin.zip file, right-click the zipped file and select Extract All. You can place the extracted folder, anywhere on your local drive. Before you can use Liquibase, you must set a Path System Variable to the folder on your computer.
To set the Path System Variable:
env
and select the Edit the System Environment option in the Control Panel.Example: C:\apps\liquibase-3.8.1-bin
Verification is an essential aspect of the Liquibase installation process, and there are three things you need to check:
To verify that you have correctly added the Liquibase folder to your Path System Variables:
power
and select Windows PowerShell.$env:PATH
You should see the following:
For Liquibase to run correctly, Java must be installed on your Windows machine. To verify that Java is installed on your computer:
cmd
to open the Command Prompt.java.exe -version
If you see the error: ‘java.exe’ is not recognized as an internal or external command, operable program or batch file
, navigate to https://www.java.com/en/download to install Java.Another way to verify that you installed Liquibase correctly on your computer is to run the Liquibase Help Command. To run the command:
cmd
to open the Command Prompt.liquibase --help