# Installer electric avec Homebrew, apt, MacPorts

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de electric pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:electric
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install electric
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install electric
```

  Preuve: MacPorts ports tree: graphics/electric/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install electric
```

  Preuve: Debian stable package indexes: electric from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## Faits du paquet

- **Clé du paquet:** brew:electric
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/electric>
- **Version:** 1.7.10
- **Résumé source:** Real-time sync for Postgres
- **Page d'accueil:** <https://electric-sql.com>
- **Dépôt:** <https://github.com/electric-sql/electric>
- **Docs amont:** <https://electric-sql.com>
- **Licence:** Apache-2.0
- **Archive source:** <https://github.com/electric-sql/electric/archive/refs/tags/@core/sync-service@1.7.9.tar.gz>
- **Dernière mise à jour:** 2026-08-04T14:53:26Z
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- electric (cli)
- electric (alias)

## Dépendances

- openssl@3

## Dépendances de compilation

- elixir
- erlang@28

## Bibliothèques fournies par macOS

- ncurses

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 1.7.10
- gestionnaire mis à jour: 2026-08-04
- données locales: OK
- dépôt amont: https://github.com/electric-sql/electric
- info: No cached GitHub release or tag data was available.
## Historique du projet et usages

Electric is an open-source Postgres sync engine. It focuses on syncing data out of Postgres into local clients over HTTP, using Shapes for partial replication and client libraries or framework integrations for consumption.

### Historique du projet

The electric-sql/electric repository was created in June 2022. The project grew around the local-first application problem: keeping local UI state fast while retaining Postgres as the source database.

Electric's own 1.0 release notes describe a major 2024 rebuild that made the sync engine simpler, faster, more reliable, and more scalable. The project reached beta in December 2024 and then announced 1.0 general availability in March 2025 with stable APIs for the core sync service.

### Historique d'adoption

Electric's adoption story is tied to production local-first and real-time workloads rather than traditional database administration. The 1.0 announcement cites production users, managed Electric Cloud, open-source users, and workloads that process large volumes of sync traffic.

The project has also broadened through integrations and examples: the official docs list TypeScript clients, React integration, framework integrations, deployment guides, demos, and the related PGlite project.

### Modes d'utilisation

A typical Electric setup runs the sync service in front of a Postgres database with logical replication enabled and a `DATABASE_URL`. Clients consume the HTTP API directly or through libraries such as the TypeScript client and React hooks.

Developers use Electric when they want local-first or real-time application behavior without writing their own fan-out, partial replication, and data delivery layer. The README highlights Shapes as the primitive for selecting the subset of Postgres data to sync.

### Pourquoi les passionnés de paquets s'y intéressent

Electric is package-nerd interesting because it packages database synchronization as a developer-service CLI/runtime rather than a framework-only library. It sits at the intersection of Postgres, local-first apps, HTTP APIs, client packages, and deployment tooling.

### Chronologie

- 2022: GitHub repository created.
- 2024: Electric rebuilt around a simpler, faster sync engine.
- 2024: Beta announced with production users and updated docs.
- 2025: Electric 1.0 released with stable sync service APIs.

### Related projects

- Electric is related to Postgres logical replication, PGlite, TanStack integrations, Phoenix integrations, local-first data libraries, and real-time sync systems such as Replicache or custom WebSocket fan-out services.

### Sources

- <https://github.com/electric-sql/electric>
- <https://raw.githubusercontent.com/electric-sql/electric/main/README.md>
- <https://electric-sql.com/docs>
- <https://electric-sql.com/blog/2025/03/17/electricsql-1.0-released>
- <https://api.github.com/repos/electric-sql/electric>


## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour electric. Les métadonnées de paquet restent publiées ici afin que la couverture future dispose d'une URL stable.


## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** electric
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Autres enregistrements de gestionnaires de paquets

- Debian apt - electric - 9.07+dfsg-7: normalized package name match | Debian stable package indexes: electric from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | electrical CAD system | http://www.staticfreesoft.com/productsFree.html
- Ubuntu apt - electric - 9.07+dfsg-7: normalized package name match | Ubuntu 24.04 LTS package indexes: electric from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | electrical CAD system | http://www.staticfreesoft.com/productsFree.html
- MacPorts - electric: normalized package name match | MacPorts ports tree: graphics/electric/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Liens liés

- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/fr/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://pkg.so/fr/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [openssl@3](https://pkg.so/fr/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [elixir](https://pkg.so/fr/brew/elixir/) - Build dependency declared by Homebrew.
- [erlang@28](https://pkg.so/fr/brew/erlang-28/) - Build dependency declared by Homebrew.
- [pinot](https://pkg.so/fr/brew/pinot/) - Shares pkgdb curated category or tags: cli, data, database, realtime.
- [reshape](https://pkg.so/fr/brew/reshape/) - Shares pkgdb curated category or tags: cli, data, database, postgres.
- [kitchen-sync](https://pkg.so/fr/brew/kitchen-sync/) - Shares pkgdb curated category or tags: cli, data, database, sync.
- [mysql](https://pkg.so/fr/brew/mysql/) - Shares pkgdb curated category or tags: cli, data, database.
- [postgresql@14](https://pkg.so/fr/brew/postgresql-14/) - Shares pkgdb curated category or tags: cli, data, database.
- [postgresql@16](https://pkg.so/fr/brew/postgresql-16/) - Shares pkgdb curated category or tags: cli, data, database.
- [postgresql@17](https://pkg.so/fr/brew/postgresql-17/) - Shares pkgdb curated category or tags: cli, data, database.
- [postgresql@18](https://pkg.so/fr/brew/postgresql-18/) - Shares pkgdb curated category or tags: cli, data, database.
- [mongo-c-driver](https://pkg.so/fr/brew/mongo-c-driver/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, data, database, openssl, openssl-3.
- [pgloader](https://pkg.so/fr/brew/pgloader/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, data, database, openssl, openssl-3.

## Combined YAML source

View the package source record on GitHub. [combined/electric.yml](https://github.com/mxcl/pkgdb/blob/main/combined/electric.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
