# Installer sq avec Homebrew, apk, apt, MacPorts, Nix, scoop

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

## installation

```sh
sudo av install brew:sq
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install sq
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install sq
```

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

### Linux

- apk (92%):

```sh
sudo apk add sq
```

  Preuve: Alpine Linux edge package indexes: sq from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install sq
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#sq
```

  Preuve: nixpkgs package indexes: pkgs/by-name/sq/sq/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/sq
```

  Preuve: Scoop official bucket manifest trees: bucket/sq.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:sq
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.54.1
- **Résumé source:** Data wrangler with jq-like query language
- **Page d'accueil:** <https://sq.io>
- **Dépôt:** <https://github.com/neilotoole/sq>
- **Dernière mise à jour:** 2026-07-26T04:03:44+02:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- sq (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.54.1
## Historique du projet et usages

sq is a Go command-line data wrangler that gives jq-style access to SQL databases and structured document formats such as CSV, Excel, JSON, and XML.

### Historique du projet

The GitHub repository was created in 2016. The official README describes sq as the 'lovechild of SQL+jq', able to run jq-like queries or database-native SQL and to join across heterogeneous sources.

### Historique d'adoption

sq is packaged across several package-manager ecosystems, including Homebrew, Debian, Ubuntu, Alpine, MacPorts, Nix, and Scoop according to the supplied package metadata. Its GitHub releases have continued through v0.54.1 in 2026, and the project maintains a dedicated documentation site at sq.io.

### Modes d'utilisation

Users add data sources with `sq add`, query them with jq-like syntax, inspect metadata, diff tables or databases, copy data between sources, and emit output formats such as JSON, CSV, Excel, HTML, Markdown, and XML. Source definitions live in `sq.yml`, with optional keyring, environment, file, or 1Password placeholders for secrets.

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

sq is interesting to package-manager users because it compresses a stack of ad hoc data-inspection tools into one portable CLI. It appeals to people who want jq-like interaction but need to cross the boundary between files, SQL engines, spreadsheets, and exports without setting up a full ETL system.

### Chronologie

- 2016: GitHub repository created.
- 2020: v0.14.5 published on GitHub releases.
- 2026: v0.54.1 published on GitHub releases.

### Related projects

- sq is explicitly inspired by jq and SQL. Its driver set connects it to PostgreSQL, MySQL, SQL Server, SQLite, DuckDB, ClickHouse, Oracle, CSV, JSON, Excel, and other tabular or document sources.

### Sources

- GitHub API repository and releases metadata for neilotoole/sq, accessed 2026-07-02
- <https://github.com/neilotoole/sq>
- <https://sq.io/docs/cmd/add/>
- <https://sq.io/docs/config/>
- <https://sq.io/docs/secrets/>
- input source_facts.package-manager


## Notes de sécurité

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



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: $XDG_CONFIG_HOME/sq/sq.yml, ~/.config/sq/sq.yml

## Credential files

- Unix: $XDG_CONFIG_HOME/sq/sq.yml, ~/.config/sq/sq.yml
## Autres enregistrements de gestionnaires de paquets

- Debian apt - sq - 1.3.1-2+b2: normalized package name match | Debian stable package indexes: sq from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | OpenPGP command-line tool from Sequoia | https://sequoia-pgp.org/
- Nix - sq: normalized package name match | nixpkgs package indexes: pkgs/by-name/sq/sq/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - sq - 0.33.0-3: normalized package name match | Ubuntu 24.04 LTS package indexes: sq from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | OpenPGP command-line tool from Sequoia | https://sequoia-pgp.org/
- apk - sq - 0.48.11-r5: normalized package name match | Alpine Linux edge package indexes: sq from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | CLI tool that provides jq-style access to structured data sources | https://sq.io/
- apk - sq-bash-completion - 0.48.11-r5: normalized package name match | Alpine Linux edge package indexes: sq-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for sq | https://sq.io/
- apk - sq-doc - 0.48.11-r5: normalized package name match | Alpine Linux edge package indexes: sq-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | CLI tool that provides jq-style access to structured data sources (documentation) | https://sq.io/
- apk - sq-fish-completion - 0.48.11-r5: normalized package name match | Alpine Linux edge package indexes: sq-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for sq | https://sq.io/
- apk - sq-zsh-completion - 0.48.11-r5: normalized package name match | Alpine Linux edge package indexes: sq-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for sq | https://sq.io/
- MacPorts - sq: normalized package name match | MacPorts ports tree: databases/sq/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/sq: normalized package name match | Scoop official bucket manifest trees: bucket/sq.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
