Install Airsonic from source


In order to build, install, and run Airsonic, you will need:

Test your system

Confirm your Maven installation:

which mvn

Confirm that the $JAVA_HOME environment variable is set:


If Java is installed, but the JAVA_HOME variable not set, be sure to set it before you continue.

Download Airsonic

Clone the Airsonic repo:

git clone
cd airsonic

Airsonic version are tagged so you simply need to checkout the version you need:

master being our current develop branch

git checkout v10.3.1


Build Airsonic .war package

Using Maven, build Airsonic:

mvn clean package

You should now have a .war file:

ls -l airsonic-main/target/airsonic.war