Run SQL from your terminal, composed in your real Neovim — without taking over the screen.
This site hosts a signed apt repository. Add it once, then install and update with apt:
curl -fsSL https://fredrir.github.io/nsql/deb/nsql-archive-keyring.asc \
| sudo gpg --dearmor -o /usr/share/keyrings/nsql.gpg
echo "deb [signed-by=/usr/share/keyrings/nsql.gpg] https://fredrir.github.io/nsql/deb stable main" \
| sudo tee /etc/apt/sources.list.d/nsql.list
sudo apt update && sudo apt install nsql
# Homebrew (macOS / Linux)
brew install fredrir/nsql/nsql
# Arch (AUR)
yay -S nsql # build from source — or: yay -S nsql-bin
# Rust
cargo install nsql
# Prebuilt binary (shell installer)
curl --proto '=https' --tlsv1.2 -LsSf \
https://github.com/fredrir/nsql/releases/latest/download/nsql-installer.sh | sh