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.4

    A blazing fast JSON parser and generator in pure Elixir.

    4.4M
  • absinthe 1.10.0

    GraphQL for Elixir

    4.1M
  • Dynamic dispatching library for metrics and instrumentations

    3.8M
  • RabbitMQ AMQP Client

    3.8M
  • ranch 2.2.0

    Socket acceptor pool for TCP protocols.

    3.5M
  • Crypto-related functionality for the web

    3.3M

New Packages

  • Tower reporter that records exceptions as OpenTelemetry span events following the OpenTelemetry s...

    2 hours ago
  • Pure Elixir implementation of OpenTelemetry

    2 hours ago
  • Pre-compiled Snowball stemmers for Elixir. Ships 36 stemming algorithms covering a wide range of ...

    2 hours ago
  • Snowball string-processing language compiler and runtime for Elixir. Compiles `.sbl` files into E...

    3 hours ago
  • Ready-to-use, fully customizable Testcontainer formulas for Gleam (postgres, redis, …).

    5 hours ago
  • Multipart body parsing and generation primitives for Gleam on Erlang and JavaScript targets

    6 hours ago

Recently Updated

  • peri 0.8.2

    A Plug'n Play schema validator library, focused on raw data structures

    14 minutes ago
  • tucan 0.6.0

    A plotting library on top of VegaLite

    1 hour ago
  • Postgres sync engine. Sync little subsets of your Postgres data into local apps and services.

    1 hour ago
  • kreuzcrawl 0.3.0-rc.14

    High-performance web crawling engine

    1 hour ago
  • liter_llm 1.4.0-rc.11

    Universal LLM API client — 142+ providers, streaming, tool calling, and provider routing. Rust-...

    1 hour ago
  • html_to_markdown 3.4.0-rc.15

    High-performance HTML to Markdown converter

    1 hour ago
Open Source

hex.pm is
open-source

Hex.pm interface
24 839 packages available
239 876 package versions
7 410 860 downloads yesterday
14 953 948 845 downloads all time