How to install VLT on a OSX mac machine



I tried installing VLT on my local machine where i have AEM installed and running successfully.

But it is not woking for me. As per comments on a forum thread i followed: How to use the VLT Tool - but when i change my environment path:

export M2_HOME=/Users/moy/apache-maven-3.1.1
export VLT_HOME=/Applications/CQ-li/vault-cli-3.1.6
export PATH=$PATH:$M2_HOME/bin;$VLT_HOME/bin;
export JAVA_HOME=$(/usr/libexec/java_home)
export PATH=/usr/local/bin:$PATH

and then reboot the system and run

vlt --help

its showing me this error:
Macintosh-Y:bin moy$ vlt --help 
-bash: vlt: command not found 

Do you have any suggestions for me ?

Accepted Solutions (1)

Accepted Solutions (1)





As I wrote you privately on the old forums, it looks like you have the wrong delimiter on the third line. You should only be using colons.

Also, if you have Homebrew installed, you should look at which allows you to install the latest version of vlt very easily.



Answers (2)

Answers (2)



You don't need to add vlt to the path. If you're on Mac/Linux, just go to where you unzipped the download.


For example


cd .../vault-cli-2.4.40/bin


Then type the following


./vlt --help


If you see the following or similar, you're in business.


Jcr File Vault [version 2.4.40] Copyright 2011 by Adobe Systems Incorporated




You need to extract vlt and install it on mac. You can find vlt zip file in your cq5 installation at crx-quickstart\opt\filevault\

Once you install add vlt file to your enviroment path. This error will go away. You should be able to use it on Mac

It seems that you installed vlt in /Applications/CQ-li/vault-cli-3.1.6, can you go to /Applications/CQ-li/vault-cli-3.1.6/bin and run

vlt  command

It could be environment path issue