A Homebrew tap with miscellaneous formulae, most notable is neon-local
that allows to run Neon locally.
brew install bayandin/tap/neon-local
The command installs neon-local
and creates configuration in "$(brew --prefix)/var/neon"
directory.
Based on examples from neondatabase/neon repository (instead of cargo neon
from the documentation, we use neon-local
).
neon-local start
neon-local tenant create --set-default # use `--pg-version \d+` for a particular Postgres version
neon-local tenant list
neon_local endpoint create main # use `--pg-version \d+` for a particular Postgres version, should match Postgres version for the tenant
neon-local endpoint start main
neon-local endpoint list
neon-local timeline branch --branch-name test
neon-local timeline list
neon_local endpoint create test --branch-name test
neon-local endpoint start test
psql -p 55432 -h 127.0.0.1 -U cloud_admin postgres
neon-local
. Meta-formula that installs all the required dependencies and configures Neon to run locally.neon-storage
. Storage part of Neon. It contains Pageserver, Safekeeper, and other required binariesneon-postgres
. Compute part of Neon. The formula contains all supported by Neon Postgres versionsneon-extension
. Postgres extensions that provide communication between Compute and Storage
neon-proxy
. Proxy for Neoncurl-without-ipv6
. Curl formula without IPv6 supports5cmd
. Parallel S3 and local filesystem execution tooltpc-h
. TPC-H benchmark with patches for MacOS and Postgres support
In addition, you can try Neon locally with extensions from this tap. To install them run the following command brew install bayandin/tap/<extension>
:
h3-pg
— PostgreSQL bindings for H3, a hierarchical hexagonal geospatial indexing systemhypopg
— Hypothetical Indexes for PostgreSQLip4r
— IPv4/v6 and IPv4/v6 range index type for PostgreSQLpg_cron
— Run periodic jobs in PostgreSQLpg_embedding
— HNSW algorithm for vector similarity search in PostgreSQLpg_graphql
— GraphQL support for PostgreSQLpg_hashids
— Short unique id generator for PostgreSQL, using hashidspg_jsonschema
— PostgreSQL extension providing JSON Schema validationpg_tiktoken
— Tiktoken tokenizer for PostgreSQLpgjwt
— PostgreSQL implementation of JWT (JSON Web Tokens)pgtap
— PostgreSQL Unit Testing Suitepgvector
— Open-source vector similarity search for Postgresplpgsql_check
— Plpgsql linterplv8
— V8 Engine Javascript Procedural Language add-on for PostgreSQLpostgresql-hll
— PostgreSQL extension adding HyperLogLog data structures as a native data typepostgresql-unit
— SI Units for PostgreSQLprefix
— Prefix Range module for PostgreSQLrum
— Inverted index with additional information in posting liststimescaledb
— Open-source time-series SQL database optimized for fast ingest and complex queries
Note: extensions provided by the tap could be different from what's available in Neon Cloud offering.