Skip to content

Installation

Install the Melange CLI for schema validation, migrations, and code generation.

Prerequisites

  • PostgreSQL 14 or later. Melange generates PL/pgSQL functions that require PostgreSQL 14+.

Install the CLI

brew install pthm/tap/melange

Verify the installation:

melange version

Updating

Melange checks for updates in the background and prints a notice when a newer version is available. The check is non-blocking, cached for 24 hours, and disabled in CI environments (when the CI environment variable is set).

To update:

brew upgrade melange

To disable update notifications:

melange --no-update-check migrate

Next Steps