What Haxelib is
Haxelib is a library manager distributed with Haxe, connecting developers to a central repository for finding, installing, and sharing libraries. Its command line installs either the latest release or a specified version, and can resolve dependencies listed in an HXML file or across the current directory’s HXML files. Search locates projects by words in their names or descriptions; the info command displays details such as ownership, license, website, tags, current version, and release notes. Developers can submit ZIP packages or directories, use Git or Mercurial repositories—including private libraries—or create local repositories from project files. Installed libraries can be exposed to the Haxe compiler with the --library or -L argument. Haxelib supports dependency resolution and offline installation on Windows, macOS, and Linux. It can also be configured to use an HTTP proxy or a server other than its default. Haxelib is free, and all listed libraries are free.
Who it suits
Haxelib suits Haxe developers who want command-line access to libraries and dependency management. It also accommodates projects using private Git or Mercurial libraries or local repositories.
Good to know, and what to watch
- Installs latest or specified library versions
- Resolves dependencies from HXML files
- Supports offline installation
- Works with Git and Mercurial repositories
- Free to use; libraries are free
- Command-line based library management
- Uses ZIP packages or directories for submissions
Plans
Every plan and priceHaxelib
Free plan
The verdict
Haxelib brings library discovery, installation, and dependency handling into the Haxe workflow. Its support for offline use, private repositories, and local libraries gives developers options beyond the central repository.
What the maker publishes
- Community and support
- The site links to GitHub, bug reports, Stack Overflow, community forums, Discord, and Gitter. source
- Compiler integration
- Installed libraries can be made available to the Haxe compiler using the --library or -L argument. source
- Custom server
- The client supports configuring a custom Haxelib server instead of lib.haxe.org. source
- Dependencies
- Haxelib can install dependencies listed in an HXML file or across HXML files in the current directory. source
- Dependency resolution
- Yes source
- Founded
- 2013 source
- Free plan
- Yes source
- Install
- The command line can install the latest released version or a specified version of a library. source
- Local repositories
- A developer can create a local repository that uses libraries stored in the current project directory. source
- Maintainer
- The Haxelib repository is listed as a public HaxeFoundation project and is licensed under MIT. source
- Offline installation
- Yes source
- Package formats
- ZIP archives containing Haxe source and haxelib.json manifests source
- Project information
- The info command shows a project's owner, license, description, website, tags, current version, and release notes for its versions. source
- Proxy support
- Haxelib can be configured to use an HTTP proxy. source
- Purpose
- Haxelib is the library manager that comes with any Haxe distribution and connects to a central repository for submitting and retrieving libraries. source
- Search
- The search command finds projects whose name or description contains the specified word. source
- Security setting
- The HAXELIB_NO_SSL environment variable makes the client use HTTP instead of HTTPS when set to 1 or true. source
- Share libraries
- Developers can submit a ZIP package or a directory for other users to install. source
- Source visibility
- The documentation says Haxe libraries are distributed as source code by default, making their behavior easy to inspect and modify. source
- Supported platforms
- Windows,macOS,Linux source
- Version control
- Haxelib can use libraries from Git or Mercurial repositories, including private libraries that are not posted to Haxelib. source
Checked against the maker's pages on 8 Oct 2026.