Windows · Developer Tools
Apache Ant
Apache Ant is a Java library and command-line tool whose mission is to drive processes described in build files as targets and extension points dependent upon…
Version 1.10.18 · by Apache
Official site: ant.apache.org
About Apache Ant
Apache Ant is a Java library and command-line tool whose mission is to drive processes described in build files as targets and extension points dependent upon each other. The main known usage of Ant is the build of Java applications. Ant supplies a number of built-in tasks allowing to compile, assemble, test and run Java applications. Ant can also be used effectively to build non Java applications, for instance C or C++ applications. More generally, Ant can be used to pilot any type of process which can be described in terms of targets and tasks.
Ant is written in Java. Users of Ant can develop their own "antlibs" containing Ant tasks and types, and are offered a large number of ready-made commercial or open-source "antlibs".
Ant is extremely flexible and does not impose coding conventions or directory layouts to the Java projects which adopt it as a build tool.
Software development projects looking for a solution combining build tool and dependency management can use Ant in combination with Apache Ivy.
The Apache Ant project is part of the [Apache Software Foundation](https://www.apache.org/).

## Package Parameters
* `/User` - override the default behaviour and set the `ANT_HOME` environment variable for the current user only
e.g. `choco install -y ant --package-parameters="/User"`
To have Chocolatey remember parameters on upgrade, be sure to set `choco feature enable -n=useRememberedArgumentsForUpgrades`.
## Notes
* Ant requires a supported version of Java to be installed and available on the path at runtime. A minimum of Java 8 is required.
* This package is automatically updated using the [Chocolatey Automatic Package Update Model (AU)](https://github.com/majkinetor/au/blob/master/README.md).
If you find it is out of date by more than a day or two, please contact the maintainer(s) and let them know the package is no longer updating correctly.
How to install Apache Ant
- Click Download — the developer's official website opens in a new tab.
- Download the latest version there and run it. Choose Custom/Advanced where offered, and skip any bundled extras.
- Prefer the command line? With Chocolatey you can install and update it with: choco install apache-ant
- Open Apache Ant once it finishes installing.
Frequently asked questions
Is Apache Ant free to download?
Yes. The Download button sends you to ant.apache.org, the developer's official site, where Apache Ant is available to download. Grabware doesn't host or modify any files.
What is the latest version of Apache Ant?
The version listed here is 1.10.18, published /Date(1788. The developer's site always has the newest release.
How do I install Apache Ant from the command line?
With Chocolatey, run: choco install apache-ant. This installs it from the official source and keeps it updated.
Is Apache Ant safe?
Apache Ant downloads directly from the developer. As always, scan the installer with your antivirus and choose Custom setup to skip any bundled extras.
Alternatives to Apache Ant
More
March 2014 servicing stack update for Windows 8.1 and Windows Server 2012 R2 (KB2919442)The update fixes some issues in the servicing stack of Windows 8.1 and Windows Server 2012 R2.Chocolatey Compatibility ExtensionExtension package to provide compatibility with older versions of Chocolatey
Update for Universal C Runtime in Windows (KB2999226)Update for Universal C Runtime (CRT) in Windows. Before you install this update, check out the prerequisites section.