Download Apache Maven for PC, Windows 11/10 & Mac (Free)

The Apache Maven download for Windows 11, Windows 10 and Mac is one archive from maven.apache.org, and it costs nothing. The current release is 3.9.16, published by the Apache Software Foundation under the Apache License 2.0.

There is no setup wizard. You extract the archive, add its bin folder to your PATH , and run mvn -v to confirm the build tool answers.

This guide covers the right file for your machine, install steps for Windows and macOS, checksum verification, the Maven 3 or Maven 4 decision, and fixes for failed builds.

Apache Maven spec card listing version, size, licence and supported systems
Release 3.9.16 is an 8.96 MB archive licensed under Apache License 2.0.

What Apache Maven needs to run: system requirements

Maven is a Java program, so the Java Development Kit matters more than your version of Windows or macOS. Set JAVA_HOME to your JDK folder, or keep java on your PATH .

Item Detail
Software Apache Maven
Developer The Apache Software Foundation
Latest version 3.9.16, released 13 May 2026
License / price Free and open source, Apache License 2.0
Download size 8.96 MB binary zip, 8.85 MB tar.gz
Supported OS Windows 11, Windows 10, macOS and Linux with a JDK installed
Java requirement JDK 8 or later; JDK 17 or later for the 4.0.0 preview
Architecture Platform-independent Java archive, runs on x64 and ARM64
Offline installer Yes, the binary archive is the complete distribution
Official download source maven.apache.org
Last verified 2026-09-22

Which Apache Maven download do you need?

Every operating system gets the same Java bytecode, so the only real choice is the archive format. Windows opens zip files natively; macOS and Linux handle tar.gz with one command.

Your setup File to download Size
Windows 11 or Windows 10, any CPU apache-maven-3.9.16-bin.zip 8.96 MB
macOS or Linux, Apple silicon or Intel apache-maven-3.9.16-bin.tar.gz 8.85 MB
You want a resident daemon for faster repeat builds maven-mvnd-1.0.6-windows-amd64.zip 22.9 MB

Building the tool from source is a separate job. Pick a binary archive unless you intend to patch it.

Apache Maven download page showing binary and source archive links
Each archive sits beside its SHA-512 checksum and its detached PGP signature.

Download Apache Maven from the official Apache page

A SHA-512 checksum and a PGP signature sit beside every archive on the download page. Take both when the machine builds production artifacts.

  1. apache-maven-3.9.16-bin.zip — 8.96 MB · Windows binary archive
  2. apache-maven-3.9.16-bin.tar.gz — 8.85 MB · macOS and Linux binary archive
  3. apache-maven-3.9.16-bin.zip.sha512 — SHA-512 checksum for the zip
  4. Download page on maven.apache.org — Where every link above comes from

Nothing else is official. A mirror offering an .exe installer for this build tool is repackaging somebody’s work.

How to install Apache Maven on Windows 11 and 10

Installation is an extract plus two environment variables. Use a path without spaces, such as C:\tools , so older plugins parse it correctly.

  1. Install a JDK first, then note its folder, for example C:\Program Files\Java\jdk-21 .
  2. Download the binary zip from the official download page.
  3. Right-click the archive, choose Extract All, and extract it to C:\tools .
  4. Press Windows + R, type sysdm.cpl , and press Enter.
  5. Open the Advanced tab and select Environment Variables.
  6. Under System variables, select New, name it JAVA_HOME , and point it at your JDK folder.
  7. Select Path, choose Edit, then New, and add C:\tools\apache-maven-3.9.16\bin .
  8. Select OK three times, open a new Command Prompt, and run mvn -v .
  9. Read the output: it prints the version, the Maven home folder and the Java version in use.

Package managers do the same work: choco install maven for Chocolatey, scoop install main/maven for Scoop.

Apache Maven installation guide listing prerequisites and package manager commands
A JDK must be installed first, with JAVA_HOME set or java already on your PATH.

How to verify the Apache Maven archive before you extract it

The Apache Software Foundation publishes a SHA-512 checksum and a PGP signature for every file. Windows checks the hash with a built-in tool.

  1. Save the archive and its .sha512 file into the same folder.
  2. Open Command Prompt in that folder and run certUtil -hashfile apache-maven-3.9.16-bin.zip SHA512 .
  3. Open the .sha512 file in Notepad and compare the two strings; they must match exactly.
  4. On a Mac, run shasum -a 512 apache-maven-3.9.16-bin.tar.gz instead.
  5. For a signature check, import the KEYS file with gpg –import KEYS .
  6. Run gpg –verify apache-maven-3.9.16-bin.zip.asc apache-maven-3.9.16-bin.zip and look for Good signature.

A hash mismatch means a truncated or altered file. Delete it and download again rather than extracting it.

Run Apache Maven from a USB stick without installing it

Nothing writes to the registry, so the extracted folder is already portable. Only the local repository and the variables tie it to a machine.

  1. Extract the binary zip onto the USB drive.
  2. Open Command Prompt on the host PC and run set JAVA_HOME=C:\Program Files\Java\jdk-21 .
  3. Run set PATH=E:\apache-maven-3.9.16\bin;%PATH% , replacing E: with your drive letter.
  4. Run set MAVEN_OPTS=-Dmaven.repo.local=E:\m2repo to keep downloaded dependencies on the stick.
  5. Run mvn -v in the same window to confirm the paths resolved.
  6. Close the window when you are done; the host machine keeps no settings.

Which Apache Maven download do you need for your Mac?

Apple silicon and Intel Macs run the same archive, because the JDK supplies the native layer. Pick the route you already use for developer tools.

Your Mac Route What to run
Apple M1 to M4 or Intel, manual install apache-maven-3.9.16-bin.tar.gz tar xzvf the archive, then add its bin folder to PATH
You already use Homebrew Homebrew formula brew install maven
You manage JDKs with SDKMAN! SDKMAN! candidate sdk install maven
You use MacPorts MacPorts port sudo port install maven3

All four routes land the same tool. Choose the manual archive when a project pins an exact release.

Is Apache Maven free?

The project is maintained by a non-profit foundation and carries no paid tier, no seat licence and no trial period.

Yes. Apache Maven is free and open source under the Apache License 2.0, including commercial use inside a company. The licence permits use, modification and redistribution, and the download page states it for every archive. Any site selling a copy or a licence key is unconnected to the project.

Should you install Maven 3 or the Maven 4 preview?

Two preview lines sit beside the stable release on the download page: 3.10.0-rc-1 and 4.0.0-rc-6. The Apache team labels both as unsafe for production.

Install the 3.9.x release. Use 4.0.0-rc-6 only on a scratch project you can afford to break. The 3.9 line is the recommended version for all users and runs on JDK 8 or later, while the 4.0.0 preview requires JDK 17 and is still a release candidate. The 3.8.9 line and everything before it reached end of life and gets no security fixes.

How to check your Maven version and update it

Upgrading means swapping a folder. Nothing in the old installation survives once the PATH entry points elsewhere.

  1. Open Command Prompt or Terminal and run mvn -v .
  2. Read line one: it shows the release, its commit hash and the install folder.
  3. Compare that release against the Maven releases history.
  4. Extract the newer archive beside the old folder rather than over it.
  5. Edit Path in Environment Variables and point the entry at the new bin folder.
  6. Open a new shell and run mvn -v again to confirm the change took effect.
  7. Delete the old folder once a build succeeds.

Homebrew users run brew upgrade maven instead, and the wrapper handles it per project.

Apache Maven releases history table with dates and required Java versions
The 3.8.9 line and everything older reached end of life and gets no fixes.

Fix Apache Maven not installing or running on Windows 11 and 10

Almost every first-run failure is an environment variable, not a broken download.

‘mvn’ is not recognized as an internal or external command

The bin folder is missing from PATH, or the shell started before the variable was added.

  1. Close every Command Prompt window and open a new one.
  2. Run echo %PATH% and look for the apache-maven entry.
  3. If it is absent, add the full bin folder path in Environment Variables.
  4. Check the folder really exists, because extracting a zip can nest it one level deeper.

JAVA_HOME environment variable is not defined correctly

JAVA_HOME points at the bin folder, at a JRE, or at a path that no longer exists.

  1. Run echo %JAVA_HOME% and confirm it names the JDK root, not its bin subfolder.
  2. Run java -version to confirm a JDK is installed at all.
  3. Reset the variable to the JDK root folder, then reopen the shell.
  4. Avoid quotation marks and a trailing backslash in the value.

Could not resolve dependencies or connection timed out on the first build

The build cannot reach Maven Central, usually through a corporate proxy.

  1. Open %USERPROFILE%\.m2\settings.xml , creating the file if it is missing.
  2. Add a block with your host, port and credentials.
  3. Run mvn -U clean install to force a fresh resolve.
  4. Delete the failing folder under .m2\repository if a partial artifact keeps breaking the build.

Invalid target release or unsupported class file major version

The JDK on PATH is older or newer than the release the project compiles against.

  1. Run mvn -v and note the Java version line.
  2. Point JAVA_HOME at a JDK the project supports.
  3. Set maven.compiler.release in the project POM to that Java release.
  4. Run mvn clean package again in a new shell.

How to uninstall Apache Maven from Windows and macOS

There is no entry in Installed apps, because nothing ran an installer. Removal is a folder delete plus a variable cleanup.

  1. Run mvn -v and note the Maven home path it prints.
  2. Delete that folder in File Explorer.
  3. Open Environment Variables, edit Path, and remove the bin entry.
  4. Delete JAVA_HOME too if nothing else on the machine uses it.
  5. Delete %USERPROFILE%\.m2 to reclaim the cached dependencies, often several GB.
  6. On a Mac, run brew uninstall maven , or delete the extracted folder and its PATH line from your shell profile.
  7. Open a new shell and run mvn -v ; a ‘not recognized’ message confirms the removal.

Choose between Maven, Gradle, Ant and the daemon

Switching build tools rewrites your project layout, so change only for a concrete reason. The daemon is not a rival; it is the same tool kept warm in memory.

Tool Best for Trade-off
Apache Maven 3.9.x Java projects wanting a standard layout and stable plugins XML configuration and a fixed lifecycle
Maven Daemon (mvnd) 1.0.6 Repeat builds on the same machine Keeps a JVM resident between builds
Gradle Android work and heavily customised builds A build script is code, harder to audit
Apache Ant Legacy builds that already ship a build.xml No dependency management without Ivy
The Maven Wrapper Teams that must pin one release per project Fetches the pinned release on first use

Add the wrapper with mvn wrapper:wrapper , then let contributors run mvnw.cmd clean install on Windows.

Maven Wrapper documentation explaining the mvnw script for pinned builds
Running mvn wrapper:wrapper pins one release per project for every contributor.

Frequently asked questions

Is Apache Maven free?

Yes. It is free and open source under the Apache License 2.0, with no paid edition and no seat licence. The Apache Software Foundation distributes every archive at no cost.

Is Apache Maven free for commercial use?

Yes. The Apache License 2.0 allows use, modification and redistribution inside a commercial product, and grants a patent licence. Keep the licence file and attribution notices when you redistribute the code.

What is the official Apache Maven download page?

It is maven.apache.org/download.cgi, which links the binary archives, the source archives, the SHA-512 checksums and the PGP signatures. Any other site redistributes the release without the project.

Does Apache Maven work on Windows 11?

Yes. The same binary archive runs on Windows 11 and Windows 10 once a JDK is installed and the bin folder sits on your PATH. There is no separate Windows 11 build.

How big is the Apache Maven download?

The binary zip is 8.96 MB and the tar.gz is 8.85 MB. Plugins and dependencies arrive during your first build, so the local repository folder grows well past that.

Is there an offline installer for Apache Maven?

The binary archive is already the complete distribution, so extraction needs no network. Builds still reach Maven Central unless you prime the local repository or run with the offline flag.

How do I install Apache Maven on a Mac?

Extract the tar.gz archive and add its bin folder to your PATH, or run brew install maven, sdk install maven, or sudo port install maven3.

Does Apache Maven run on ARM64?

Yes. The distribution is platform-independent Java bytecode, so an ARM64 Windows PC or an Apple silicon Mac runs the same file as an x64 machine.

Is Apache Maven safe to download?

Yes, when the file comes from the Apache site. Check the published SHA-512 hash with certUtil on Windows or shasum on a Mac, and verify the PGP signature on build servers.

What is the latest Apache Maven version?

Release 3.9.16, dated 13 May 2026, is the current recommended version. Preview builds 3.10.0-rc-1 and 4.0.0-rc-6 also sit on the download page and are not safe for production.

Which Java version does Apache Maven need?

The 3.9 and 3.10 lines need JDK 8 or later, and the 4.0.0 preview needs JDK 17 or later. Toolchains let you build against older Java releases.

Why won’t Apache Maven start after extraction?

The usual cause is an environment variable. Reopen the shell so it picks up the new PATH, confirm JAVA_HOME names the JDK root rather than its bin subfolder, and check the extracted path exists.

Philip Celasco

Philip is a Texas-based technology writer and IT administrator at Techdows.com with more than 10 years of experience creating practical content for everyday users and professionals. He specializes in web browsers, particularly Chromium-based platforms such as Google Chrome, Microsoft Edge, Brave, and Opera. Through his work as an IT administrator, Philip has hands-on experience managing devices, configuring browser policies, troubleshooting software and network issues, and helping people resolve problems that affect productivity and security. His articles are based on practical testing and real-world technical experience. He covers browser settings, extensions, performance problems, privacy controls, security features, and Windows troubleshooting. Outside work, Philip enjoys the quieter side of life in Texas and stepping away from the screen when he can. He has two kids, two cats and loves to play golf with his mother during the weekends.

Leave a Reply

Your email address will not be published. Required fields are marked *