Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Hex

By Hex · hex.pm

  • Free plan
  • Web
  • API
  • Self-hosted
7.4 Club score Visit hex.pm

What Hex is

Hex is a package manager for the BEAM ecosystem, including Elixir and Erlang. Its services include an HTTP API, website, package and index repository, HexDocs, Mix integration, and related components. Packages work with Mix, Rebar, and erlang.mk, and the site provides usage guidance for Gleam. Developers can fetch dependencies without creating an account. Organizations can publish and retrieve private packages, and control which users can access them. A private package can depend only on packages in its own organization's repository and the global hexpm repository. Free organizations can publish public dependency policies; paid organizations can publish private policies that apply to public and private packages. Documentation explains how to build and serve a package repository on infrastructure an organization operates. Hex supports organization authentication keys for CI, and its source code is licensed under the Apache 2 License. Plans include a free Open Source option, Private Packages at $9 a month, an annual option at $90 a year, and Enterprise pricing by contacting sales.

Who it suits

Hex may suit Elixir, Erlang, and other BEAM ecosystem developers managing dependencies. Organizations that need private packages or a self-hosted repository may also find relevant options.

Good to know, and what to watch

  • Dependencies can be fetched without an account.
  • Organizations can control access to private packages.
  • Packages are supported by Mix, Rebar, and erlang.mk.
  • Documentation covers operating a repository on your own infrastructure.
  • Organization authentication keys support CI.
  • Private packages can depend only on the organization's repository and global hexpm.
  • Private Packages are listed at $9 a month.
  • Enterprise pricing is available by contacting sales.

Private Packages

$9/mo

Enterprise

—

Open Source

Free

Private Packages (annual)

$90/yr

Free plan · 30-day trial

Getting started

  1. Open https://hex.pm/
  2. Fetch a dependency without creating an account, or create an organization
  3. Use Mix, Rebar, or erlang.mk to work with packages
  4. Publish public or private packages
  5. Configure organization authentication keys for CI if needed

Limits to check

Each package is limited to 16 MB. Private packages can depend only on packages in their organization repository and the global hexpm repository.

The Club's review

Hex is a package manager and distribution service for Elixir, Erlang, and other BEAM projects. It suits developers who want a shared public package home and teams that need private BEAM packages or repository infrastructure they operate. Its public tier costs nothing; organization controls for private packages start at $9 per user per month.

Overview

Hex combines a package and index repository with an HTTP API, website, HexDocs, and build-tool integration. Dependencies can be fetched without an account, and packages work with Mix, Rebar, and erlang.mk; Hex also offers Gleam usage guidance. That makes Hex a focused choice for BEAM projects, rather than a broad registry for unrelated languages.

One constraint matters for private-package workflows: a private package can depend only on packages in its own organization repository or the global hexpm repository. Teams whose private packages need dependencies from other private organization repositories should account for that boundary before adopting Hex.

Key features

  • Public publishing and fetching: The free plan allows unlimited public packages, and consumers can fetch dependencies without signing up. That keeps adoption straightforward for open-source projects.
  • Private packages and access: Organizations can publish private packages and control which users can access them. Paid plans add private package documentation and private dependency policies; the monthly Private Packages plan also allows republishing and deleting packages.
  • Dependency policies: Free organizations can publish public policies. Paid organizations can set private policies governing public and private packages, giving teams more control over dependency choices.
  • Repository ownership: Hex documentation explains how to build and serve a package repository on infrastructure you operate. Enterprise also includes package mirroring, vetted-package allowlists, and security packages for organizations with infrastructure and governance needs.
  • CI authentication: Organization authentication keys support CI workflows. Hex also provides a direct support contact for the core team and an address for vulnerability reports.

Pricing

Hex uses a freemium model, with a 30-day trial. The free Open Source plan costs nothing and includes unlimited public packages, public package documentation, multiple package owners, and public dependency policies. It is the clear fit for public BEAM projects, but does not include private package features.

Private Packages costs $9 a month, billed $9 / user / month. It adds unlimited private packages, private package documentation, republishing and deletion, and private dependency policies. This suits teams sharing proprietary BEAM libraries, though per-user billing makes cost rise with the number of people who need access.

The annual Private Packages option costs $90 a year, billed $90 / per user / per year, and includes unlimited private packages, private package documentation, and private dependency policies. It omits the monthly plan's stated republish and delete capability. Enterprise has custom pricing and is aimed at organizations that want to run their own infrastructure, mirror hex.pm packages, restrict use to vetted packages, or apply security packages.

Platforms

Hex is available through a web service and API, and can be self-hosted. That combination serves teams using Hex's hosted services as well as organizations that need repository infrastructure under their own operation.

Who it's for

Hex is a strong match for Elixir, Erlang, and other BEAM developers who want public package distribution with no account requirement for consumers. It also suits organizations willing to pay per user for private packages, access control, and private dependency policies. Teams with private dependencies spread across multiple organization repositories should weigh the repository restriction carefully.

Pros and cons

Pros

  • Unlimited public packages on the free plan make it practical for open-source publishing.
  • Account-free dependency fetching reduces friction for package consumers.
  • Mix, Rebar, and erlang.mk support gives BEAM projects several established build-tool routes to Hex.
  • Self-hosting guidance and Enterprise mirroring and allowlisting address organizations with infrastructure and package governance requirements.

Cons

  • Private packages are limited to dependencies in their own organization repository or global hexpm, which can complicate teams with packages across private repositories.
  • Private package controls require paid, per-user plans, so they are not cost-free for growing teams.
  • The annual plan does not include the monthly plan's stated republish and delete capability.
  • The 16 MB package size limit may constrain unusually large packages.

Alternatives

For teams that need feeds for private packages and Docker, consider Inedo ProGet; its free edition includes unlimited feeds, while security and compliance features are limited.

For JavaScript projects, npm provides a free public registry and publishing for public package authors.

Choose aptly if you want a free package tool with a CLI and HTTP REST service.

LuaRocks is a free package manager and module hosting service for Lua.

For a self-hosted PyPI-compatible package server, pypiserver is a free open-source option with a minimal API.

Bioconductor is a free open-source software option for its package ecosystem.

For Java package publishing, Maven Central offers community publishing with monthly file-count, release-size, and release-count limits; higher limits or exemptions can be reviewed.

MELPA is an Emacs Lisp package archive for Emacs 24.1 or later with package.el.

Browse Package Registries and Package Managers for more options.

Verdict

Choose Hex for public BEAM package distribution or for private packages when per-user pricing and the repository dependency boundary fit your workflow. Its mix of build-tool support, account-free fetching, and self-hosting options makes it a focused ecosystem choice; teams needing private dependencies across organization repositories should look elsewhere.

The verdict

Hex provides package distribution and dependency management for the BEAM ecosystem, with public and private organization options. Review the private-package dependency restriction and plan terms if your projects rely on private dependencies.

Questions people ask

Is Hex free?

The Open Source plan costs nothing. Private Packages costs $9 per user per month, with an annual option at $90 per user per year.

Which ecosystems does Hex support?

Hex is built for the BEAM ecosystem, including Elixir and Erlang, and provides Gleam guidance.

Can organizations keep packages private?

Yes. Organizations can publish and fetch private packages and control user access.

Can Hex run on my infrastructure?

Yes. Documentation explains how to build and serve a Hex package repository on infrastructure you operate.

Who operates Hex?

Hex is operated by Swedish limited company Six Colors AB, with development maintained by the Hex core team.

What the maker publishes

Build tools
Hex packages are supported by Mix, Rebar, and erlang.mk, and the site also provides Gleam usage guidance. source
Company
Hex is operated by Swedish limited company Six Colors AB, which supports its development and runs its services. source
Components
Hex consists of an HTTP API, website, package and index repository, HexDocs, Mix integration, and other services. source
Dependency fetching
Users can fetch dependencies from Hex without creating an account. source
Dependency policies
Free organizations can publish public dependency policies, while paid organizations can publish private policies that govern public and private packages. source
Founded
2014 source
Free plan
Yes source
Notable limit
A private package can depend only on packages in its own organization repository and the global hexpm repository. source
Private packages
Organizations can publish and fetch private packages and control which users have access. source
Security
Hex supports organization authentication keys for CI, and its About page directs security vulnerability reports to [email protected]. source
Self hosting
The documentation explains how to build and serve a Hex package repository on infrastructure you operate. source
Source license
Hex source code is licensed under the Apache 2 License and maintained by the Hex core team. source
Support
Hex directs users to [email protected] for direct contact with the core team and general support. source
What it does
Hex is a package manager for the BEAM ecosystem, including languages such as Elixir and Erlang. source

Checked against the maker's pages on 28 Sept 2026.