Packages

The package manager
for the Erlang ecosystem

Getting Started Publish Packages
Elixir
Using with Elixir

Specify your Mix dependencies as two-item tuples like {:plug, "~> 1.19"} in your dependency list, Elixir will ask if you want to install Hex if you haven't already.

Erlang
Using with Erlang

Download rebar3, put it in your PATH and give it executable permissions. Now you can specify Hex dependencies in your rebar.config like {deps, [hackney]} .

Gleam
Using with Gleam

Add the Hex dependency to your gleam.toml file using the lustre = ">= 5.2.0 and < 6.0.0" format. Or use the gleam add lustre@5 command.

Getting started

Fetch dependencies from Hex without creating an account. Hex is usable out of the box in Elixir with Mix and in Erlang with Rebar3 . Check our FAQ for commonly asked questions.

Publish packages

Create an account and follow the publishing guide . Your package will be immediately available to all Elixir and Erlang users and the documentation will be available on HexDocs .

Private packages

Publish private packages by creating an organization . Your private packages will get the same features as public packages such as fast dependency fetching, HexDocs, and run on the same reliable infrastructure that serves millions of packages daily. See our pricing page for more details.

Most Downloaded

  • jason 1.4.5

    A blazing fast JSON parser and generator in pure Elixir.

    4.6M
  • absinthe 1.10.1

    GraphQL for Elixir

    4.1M
  • Dynamic dispatching library for metrics and instrumentations

    3.9M
  • RabbitMQ AMQP Client

    3.8M
  • ranch 2.2.0

    Socket acceptor pool for TCP protocols.

    3.6M
  • Crypto-related functionality for the web

    3.4M

New Packages

  • Wan 3.0 AI video generator metadata for Hex indexing.

    14 minutes ago
  • Native Elixir PDF reader and writer. Writes PDFs from declarative page descriptions; reads PDFs (...

    3 hours ago
  • Hardware-backed digital signatures for Elixir, via PKCS#11. Layered library with first-class adap...

    5 hours ago
  • Append-only hash-chained audit log + RFC 3161 timestamp anchoring for pkcs11ex. Sister library; o...

    5 hours ago
  • Software-key implementation of `SignCore.Signer` for PKCS#12 (.p12 / .pfx) bundles and PKCS#8 PEM...

    5 hours ago
  • Dedicated UDP socket source for phi_accrual. Escapes BEAM distribution head-of-line blocking. Rec...

    5 hours ago

Recently Updated

  • oaspec 0.61.0

    Generate Gleam code from OpenAPI 3.x specifications

    4 minutes ago
  • Wan 3.0 AI video generator metadata for Hex indexing.

    14 minutes ago
  • BEAM HTTP adapter for oaspec generated clients (gleam_httpc-backed).

    21 minutes ago
  • JavaScript fetch adapter for oaspec generated clients.

    22 minutes ago
  • Authentication extension for the Ash Framework.

    35 minutes ago
  • fixpoint 0.20.4

    Constraint Programming Solver

    42 minutes ago
Open Source

hex.pm is
open-source

Hex.pm interface
24 941 packages available
241 382 package versions
6 584 304 downloads yesterday
14 998 156 572 downloads all time