# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix 安装 litecli

查看 litecli 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:litecli
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install litecli
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install litecli
```

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

### Linux

- apk (92%):

```sh
sudo apk add litecli
```

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

- Debian apt (92%):

```sh
sudo apt install litecli
```

  证据: Debian stable package indexes: litecli from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install litecli
```

  证据: Fedora Rawhide package metadata: litecli from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#litecli
```

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

## 软件包事实

- **软件包键:** brew:litecli
- **软件包管理器:** Homebrew
- **版本:** 1.17.1
- **来源摘要:** CLI for SQLite Databases with auto-completion and syntax highlighting
- **主页:** <https://litecli.com>
- **最后更新:** 2026-06-15T10:20:20-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- litecli (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.17.1
## 项目历史与用法

LiteCLI is a command-line SQLite client from the dbcli family, designed around auto-completion, syntax highlighting, and a friendlier interactive SQL prompt. It brings the style popularized by pgcli and mycli to SQLite databases.

### 项目历史

LiteCLI was announced on January 3, 2019 by Amjith Ramanujam, the maintainer associated with the dbcli tools. The launch post described it as a user-friendly SQLite command-line client based on pgcli and mycli.

The project matured as a Python CLI distributed through PyPI, Homebrew, and Linux package repositories. Its README and documentation focus on practical interactive use: opening a database, tabular output, completion, highlighting, and a generated configuration file.

### 采用历史

LiteCLI's adoption follows the dbcli pattern: Python users can install it with pip, macOS users can install it with Homebrew, and distro packages make it available on common Linux systems. Its appeal is strongest for developers who want SQLite exploration without a heavyweight GUI.

### 使用方式

Users run `litecli DATABASE` or `litecli :memory:` to open a SQLite session. On first launch, LiteCLI creates a configuration file at `~/.config/litecli/config` on Unix-like systems and `~\AppData\Local\dbcli\litecli\config` on Windows.

### 为什么软件包爱好者会关心

LiteCLI is significant because it packages a quality-of-life database shell as a small Python command. It is a good example of a package whose value is interactive ergonomics: prompt-toolkit-style completion, highlighting, formatting, and sane defaults wrapped around SQLite.

### 时间线

- 2018-12-05: PyPI recorded an early 0.0.2 release.
- 2019-01-03: The LiteCLI launch post introduced the project as a SQLite client based on pgcli and mycli.
- 2019-01-04: PyPI recorded version 1.0.0.
- 2026-01-31: PyPI recorded version 1.17.1.

### Related projects

- Related projects include SQLite, pgcli, mycli, dbcli's shared helper libraries, Python prompt-toolkit, and other interactive SQL shells.

### 来源

- <https://github.com/dbcli/litecli>
- <https://litecli.com/>
- <https://litecli.com/config/>
- <https://pypi.org/project/litecli/>
- <https://www.pgcli.com/launching-litecli.html>


## 安全说明

没有找到 litecli 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 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

- Unix: ~/.config/litecli/config
- Windows: ~\AppData\Local\dbcli\litecli\config
## 其他软件包管理器记录

- Debian apt - litecli - 1.15.0-2: normalized package name match | Debian stable package indexes: litecli from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | CLI for SQlite with auto-completion and syntax highlighting | https://litecli.com
- Nix - litecli: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/litecli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - litecli - 1.10.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: litecli from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | CLI for SQlite with auto-completion and syntax highlighting | https://litecli.com
- apk - litecli - 1.17.1-r1: normalized package name match | Alpine Linux edge package indexes: litecli from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | CLI for SQLite Databases with auto-completion and syntax highlighting | https://litecli.com/
- apk - litecli-pyc - 1.17.1-r1: normalized package name match | Alpine Linux edge package indexes: litecli-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for litecli | https://litecli.com/
- dnf - litecli - 1.17.1-3.fc45: normalized package name match | Fedora Rawhide package metadata: litecli from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | CLI for SQLite Databases with auto-completion and syntax highlighting | https://litecli.com
- MacPorts - litecli: normalized package name match | MacPorts ports tree: databases/litecli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

- 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
