Install Apache Ant on MacOS | Configure & Install | M2/M3 2024

Опубликовано: 30 Март 2026
на канале: Prashant Rana
1,944
11

In this Video we will see How to Install Apache Ant on MacOS, We will Configure and Install the Apache Ant on MacOS on M2 Based System.

Download ANT - https://ant.apache.org/bindownload.cgi

Install Java JDK on Mac -    • Install Java JDK 20 on MacOS M1 / M2 | Ins...  

Steps for Install -
First we need to go to Downloads Folder, where we will be having the apache-ant zip File.
Then we will be unzipping the apache ant.
Afterwards we need to ensure that /usr/local exists in Mac.
We will be Copying the Apache Ant using the Command -
sudo cp -rf apache-ant-1.8.1-bin /usr/local/apache-ant
Add the New Version of Ant to Current Terminal Session
export PATH=/usr/local/apache-ant/bin:"$PATH"
Verify New Version of Ant
ant -version

#apache #ant #apache_ant