


# Add the new version of Ant to current terminal sessionĮxport PATH=/usr/local/apache-ant/bin:"$PATH" Sudo cp -rf apache-ant-1.8.1-bin /usr/local/apache-ant # Copy it into /usr/local Sudo mkdir -p /usr/local # Ensure that /usr/local exists Tar -xvzf apache-ant-1.8. # Extract the folder The commands that you would need, anycodings_ant assuming apache-ant-1.8. anycodings_ant (replace 1.8.1 with the actual version) anycodings_ant were still in your Downloads directory, anycodings_ant would be the following (explanatory anycodings_ant comments included): cd ~/Downloads # Let's get into your downloads folder. Put the "bin" subdirectory in your path.If it is not already installed, then anycodings_ant your best bet is to install Homebrew anycodings_ant (brew install ant) or MacPorts (sudo anycodings_ant port install apache-ant), and use those anycodings_ant tools to install Apache Ant.Īlternatively, though I would highly anycodings_ant advise using Homebrew or MacPorts anycodings_ant instead, you can install Apache Ant anycodings_ant manually. Ant is already installed on some older anycodings_ant versions of Mac OS X, so you should run anycodings_ant ant -version to test if it is installed anycodings_ant before attempting to install it.
