How to install electric-sql/pglite. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.
electric-sql/pglite Installation Guide
How to install electric-sql/pglite. Official project installation instructions and setup guide.
⚡
Automated Install (Recommended)
Quick installation instructions for electric-sql/pglite. This is the fastest way to complete project installation and setup.
Install via curl
curl -fsSL https://hexmos.com/ipm-install | bash &&
ipm i electric-sql/pgliteor
Install via npx
npx @hexmos/ipm i electric-sql/pglitePrerequisites
Node.js
languageVersion: >= 20.0.0
pnpm
package_managerVersion: ^14.0.0
Docker
system_toolFor building the Postgres WASM module.
PostgreSQL
system_packageVersion: 14.0.0
Emscripten
build_toolFor compiling the Postgres WASM module.
Manual Installation Methods
Manual installation instructions. How to install from GitHub source.
Package Manager (Node.js)
npm install @electric-sql/pglitePackage Manager (Deno/Bun)
pnpm installClone Repository
git clone https://github.com/electric-sql/pglite.gitPost Installation Steps
- Open your browser and navigate to http://localhost:3000 (or the address specified in your application's configuration). This will launch the application.
- If you're using a local development environment, ensure that your database is running. You can usually find instructions on how to start the database within the project's documentation or README.
