# Install lazysql with Homebrew, MacPorts, Nix, scoop

Cross-platform TUI database management tool. Version 0.5.5 via Homebrew; verified 2026-06-30.

## Install

```sh
sudo av install brew:lazysql
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install lazysql
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install lazysql
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#lazysql
```

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

### Windows

- Scoop (92%):

```sh
scoop install extras/lazysql
```

  Evidence: Scoop official bucket manifest trees: bucket/lazysql.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:lazysql
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/lazysql>
- **Version:** 0.5.5
- **Source summary:** Cross-platform TUI database management tool
- **Homepage:** <https://github.com/jorgerojas26/lazysql>
- **Repository:** <https://github.com/jorgerojas26/lazysql>
- **Upstream docs:** <https://github.com/jorgerojas26/lazysql#readme>
- **License:** MIT
- **Source archive:** <https://github.com/jorgerojas26/lazysql/archive/refs/tags/v0.5.5.tar.gz>
- **Last updated:** 2026-06-30T00:09:05Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- lazysql (cli)
- lazysql (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.5.5
- Package-manager updated: 2026-06-30
- Local data: ok
- Upstream repository: https://github.com/jorgerojas26/lazysql
- Upstream latest detected: v0.5.5 (current)
## Project history and usage

lazysql is a cross-platform Go TUI for managing SQL database connections from the terminal.

### Project history

The GitHub repository was created on 2023-05-29. The README says the author wanted a LazyGit-like interface for SQL, did not find one that fit his needs, and built lazysql as a first open source and first Go project.

### Adoption history

The README documents installation through Homebrew, Go, GitHub binary releases, and Arch AUR packaging. GitHub metadata reported 4,033 stars by 2026-06-29.

### How it is used

lazysql stores connection definitions in TOML config files and supports project-local `.lazysql.toml` overrides. Its README shows Postgres connection examples, read-only connection mode, an SQL editor, tabs, Vim keybindings, and multiple database connections.

### Why package nerds care

lazysql is part of the wave of Go terminal applications that translate GUI database workflows into package-manager-friendly single binaries, especially appealing to users who prefer staying inside a terminal.

### Timeline

- 2023-05-29: GitHub repository created.
- 2026-05-25: Release v0.5.1 published.
- 2026-06-29: Release v0.5.5 published.

### Related projects

- The README names LazyGit as the main inspiration and documents Go and tview as implementation technologies.

### Sources

- <https://api.github.com/repos/jorgerojas26/lazysql>
- <https://github.com/jorgerojas26/lazysql>
- <https://github.com/jorgerojas26/lazysql/releases>


## Security Notes

No matching local secret-handling manifest was found for lazysql. Nucleus package metadata is still published here so future coverage has a stable package URL.



## 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

- Linux: ~/.config/lazysql/config.toml, $XDG_CONFIG_HOME/lazysql/config.toml, .lazysql.toml in a project directory
- macOS: ~/Library/Application Support/lazysql/config.toml, $XDG_CONFIG_HOME/lazysql/config.toml, .lazysql.toml in a project directory
- Windows: %APPDATA%\lazysql\config.toml, .lazysql.toml in a project directory

## Credential files

- Linux: ~/.config/lazysql/config.toml, $XDG_CONFIG_HOME/lazysql/config.toml, .lazysql.toml in a project directory
- macOS: ~/Library/Application Support/lazysql/config.toml, $XDG_CONFIG_HOME/lazysql/config.toml, .lazysql.toml in a project directory
- Windows: %APPDATA%\lazysql\config.toml, .lazysql.toml in a project directory
## Source Database Details

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

## Other Package-Manager Records

- Nix - lazysql: normalized package name match | nixpkgs package indexes: pkgs/by-name/la/lazysql/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - lazysql: normalized package name match | MacPorts ports tree: databases/lazysql/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - extras/lazysql: normalized package name match | Scoop official bucket manifest trees: bucket/lazysql.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [whodb-cli](https://www.automicvault.com/pkg/brew/whodb-cli/) - Shares av.db curated category or tags: cli, data, database, mysql, postgresql.
- [doltgres](https://www.automicvault.com/pkg/brew/doltgres/) - Shares av.db curated category or tags: cli, data, database, postgresql, sql.
- [kitchen-sync](https://www.automicvault.com/pkg/brew/kitchen-sync/) - Shares av.db curated category or tags: cli, data, database, mysql, postgresql.
- [mysql](https://www.automicvault.com/pkg/brew/mysql/) - Shares av.db curated category or tags: cli, data, database, mysql, sql.
- [percona-server](https://www.automicvault.com/pkg/brew/percona-server/) - Shares av.db curated category or tags: cli, data, database, mysql, sql.
- [sqlite](https://www.automicvault.com/pkg/brew/sqlite/) - Shares av.db curated category or tags: cli, data, database, sql, sqlite.
- [automysqlbackup](https://www.automicvault.com/pkg/brew/automysqlbackup/) - Shares av.db curated category or tags: cli, data, database, mysql.
- [dexter](https://www.automicvault.com/pkg/brew/dexter/) - Shares av.db curated category or tags: cli, data, database, postgresql.
- [rainfrog](https://www.automicvault.com/pkg/brew/rainfrog/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, data, database, management, mysql.

## Combined YAML source

View the package source record on GitHub. [combined/lazysql.yml](https://github.com/automic-vault/db/blob/main/combined/lazysql.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
