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.

    5M
  • Dynamic dispatching library for metrics and instrumentations

    4.3M
  • absinthe 1.10.2

    GraphQL for Elixir

    3.8M
  • ranch 2.2.0

    Socket acceptor pool for TCP protocols.

    3.7M
  • mime 2.0.7

    A MIME type module for Elixir

    3.7M
  • Crypto-related functionality for the web

    3.7M

New Packages

  • A 'plugin-based' monitor and alert manager for BEAM Nodes and Hosts

    35 minutes ago
  • QUIC transport protocol (RFC 9000/9001/9002) for Erlang/OTP 27+

    2 hours ago
  • Route policy and runtime contracts for Phoenix apps that go mobile.

    3 hours ago
  • Cliente del Web Service oficial de Descarga Masiva del SAT (cfdidescargamasiva.clouda.sat.gob.mx)...

    11 hours ago
  • CLI tool for ExStorageService S3-compatible object storage

    12 hours ago
  • Phoenix-native AI runtime and operator surface for durable runs, approvals, replay, evaluation, a...

    13 hours ago

Recently Updated

  • mutex 3.0.5

    This package implements a simple mutex as a GenServer. It allows to lock keys and handles locking...

    10 minutes ago
  • The ywt package for JWT targeting javascript.

    20 minutes ago
  • The ywt package for JWT targeting erlang.

    21 minutes ago
  • Types and decoders used in the ywt package.

    22 minutes ago
  • pharos 0.1.0

    A 'plugin-based' monitor and alert manager for BEAM Nodes and Hosts

    35 minutes ago
  • ark 0.13.1

    Ark is a collection of small utilities useful for prototyping, testing, and working with Elixir c...

    41 minutes ago
Open Source

hex.pm is
open-source

Hex.pm interface
25 318 packages available
245 314 package versions
6 532 450 downloads yesterday
15 102 770 555 downloads all time