Freedom251 › Cross-Platform App Development Frameworks
Haxelib
by Haxelib

What Haxelib is
Haxelib is a library manager included with Haxe distributions, connecting developers to a central repository to find, install, and submit libraries. Its command-line client can install either the latest released version of a library or a version the developer specifies. It can also install dependencies recorded in an HXML file, or across HXML files in the current directory. Search matches a word in project names or descriptions; the info command displays project ownership, licensing, description, website, tags, current version, and release notes. Developers can submit libraries as ZIP packages or directories. Haxelib can use Git and Mercurial repositories, including private libraries, and can create local repositories based on libraries in a project directory. Installed libraries can be exposed to the Haxe compiler with the --library or -L argument. Haxelib supports Windows, macOS, and Linux, dependency resolution, and offline installation. Users can configure an HTTP proxy or a custom Haxelib server. The client supports switching to HTTP rather than HTTPS through the HAXELIB_NO_SSL environment variable. Haxe libraries are distributed as source code by default, which can be inspected and modified. Haxelib is free, with all libraries listed as free; its repository is a public HaxeFoundation project licensed under MIT.
Who it suits
Haxelib suits Haxe developers who want a command-line way to find and manage libraries, resolve dependencies, or share packages through a central repository. It also fits projects that need private Git or Mercurial libraries, local repositories, or offline installation.
What it does well
- Included with any Haxe distribution.
- Installs latest or specified library versions.
- Can install dependencies from HXML files.
- Supports Git and Mercurial, including private libraries.
- Supports offline installation and dependency resolution.
- All libraries are free.
What to know first
- The documented client uses command-line commands and compiler arguments.
- Setting HAXELIB_NO_SSL to 1 or true switches the client to HTTP.
Plans
| Plan | Billed and limits | Price |
|---|---|---|
| Haxelib | All libraries are free | Free |
As lib.haxe.org lists them, read 8 Oct 2026. The maker's own page has the final word.
Getting started
- Install a Haxe distribution, which includes Haxelib.
- Use the command line to install the latest release or specify a library version.
- Install dependencies from an HXML file or HXML files in the current directory.
- Make installed libraries available to the Haxe compiler with --library or -L.
- Configure an HTTP proxy or custom server if needed.
Verdict
Choose Haxelib if you develop with Haxe and want a free library manager for central, private, or local libraries.
Questions
How much does Haxelib cost?
Haxelib is free, and all libraries are listed as free.
Which operating systems does it support?
Haxelib supports Windows, macOS, and Linux.
Can it install dependencies or work offline?
Yes. It can resolve dependencies from HXML files and supports offline installation.
Can Haxelib use private libraries?
Yes. It can use Git or Mercurial repositories, including private libraries that are not posted to Haxelib.
Is Haxelib open source?
The Haxelib repository is a public HaxeFoundation project licensed under MIT.
Can the client use a different server?
Yes. It can be configured to use a custom Haxelib server instead of lib.haxe.org.
Facts from Haxelib's own pages
- Community and support
- The site links to GitHub, bug reports, Stack Overflow, community forums, Discord, and Gitter. · lib.haxe.org, 8 Oct 2026
- Compiler integration
- Installed libraries can be made available to the Haxe compiler using the --library or -L argument. · lib.haxe.org, 8 Oct 2026
- Custom server
- The client supports configuring a custom Haxelib server instead of lib.haxe.org. · lib.haxe.org, 8 Oct 2026
- Dependencies
- Haxelib can install dependencies listed in an HXML file or across HXML files in the current directory. · lib.haxe.org, 8 Oct 2026
- Dependency resolution
- Yes · lib.haxe.org, 21 Sept 2026
- Founded
- 2013 · lib.haxe.org, 28 Sept 2026
- Free plan
- Yes · lib.haxe.org, 21 Sept 2026
- Install
- The command line can install the latest released version or a specified version of a library. · lib.haxe.org, 8 Oct 2026
- Local repositories
- A developer can create a local repository that uses libraries stored in the current project directory. · lib.haxe.org, 8 Oct 2026
- Maintainer
- The Haxelib repository is listed as a public HaxeFoundation project and is licensed under MIT. · github.com, 8 Oct 2026
- Offline installation
- Yes · lib.haxe.org, 21 Sept 2026
- Package formats
- ZIP archives containing Haxe source and haxelib.json manifests · lib.haxe.org, 21 Sept 2026
- Project information
- The info command shows a project's owner, license, description, website, tags, current version, and release notes for its versions. · lib.haxe.org, 8 Oct 2026
- Proxy support
- Haxelib can be configured to use an HTTP proxy. · lib.haxe.org, 8 Oct 2026
- Purpose
- Haxelib is the library manager that comes with any Haxe distribution and connects to a central repository for submitting and retrieving libraries. · lib.haxe.org, 8 Oct 2026
- Search
- The search command finds projects whose name or description contains the specified word. · lib.haxe.org, 8 Oct 2026
- Security setting
- The HAXELIB_NO_SSL environment variable makes the client use HTTP instead of HTTPS when set to 1 or true. · lib.haxe.org, 8 Oct 2026
- Share libraries
- Developers can submit a ZIP package or a directory for other users to install. · lib.haxe.org, 8 Oct 2026
- Source visibility
- The documentation says Haxe libraries are distributed as source code by default, making their behavior easy to inspect and modify. · lib.haxe.org, 8 Oct 2026
- Supported platforms
- Windows,macOS,Linux · lib.haxe.org, 21 Sept 2026
- Version control
- Haxelib can use libraries from Git or Mercurial repositories, including private libraries that are not posted to Haxelib. · lib.haxe.org, 8 Oct 2026
Where Haxelib stands on Freedom251
- Cross-Platform App Development Frameworks#4 of 62
- Code Transpilers#7 of 28
- Package Managers#43 of 93