qmetrics.net

Nix Index

Nixpkgs file-to-package lookup and command-not-found helper

TerminalsDesktop/CLI app

Nix Index builds a database of files in nixpkgs derivations so you can find which package provides a path. It includes nix-locate for queries and optional shell integration when a command is missing.

Overview

Nix Index is a tool for quickly finding which nixpkgs package supplies a given file. It indexes built derivations discovered in binary caches, producing a local database you generate before searching.

After the index is built, nix-locate matches file path patterns against that database. The workflow is geared toward Nix users who know a filename or path on disk but not the owning package attribute.

A separate nix-index-database project offers pre-generated databases and NixOS or home-manager modules if you prefer not to build the index locally. Index creation typically takes on the order of several minutes.

Nix Index can also act as a command-not-found helper in bash, zsh, fish, or Nushell, printing the nixpkgs attribute path when the shell cannot find an executable. Home-manager and NixOS configuration snippets wire this behavior into your environment.

Key features

  • Indexes nixpkgs files from binary caches
  • nix-locate pattern search against local database
  • Optional pre-built databases via nix-index-database
  • command-not-found shell integration
  • Home-manager and NixOS module hooks
  • Fish, bash, zsh, and Nushell support

Use cases

  • Finding which package owns a file in nixpkgs
  • Suggesting nix packages when a shell command is missing
  • Avoiding local index builds with shared databases
  • Day-to-day Nix package discovery on the command line

Tags

Similar software

Oh My Zsh

Community zsh configuration framework with plugins

Oh My Zsh manages zsh setup with bundled plugins, themes, and an installer driven by curl, wget, or fetch.

★ 190.9k⟳ yesterdayMIT
TerminalsDesktop/CLI app

Gemini CLI

Terminal AI agent for enterprise Gemini Code Assist

Gemini CLI is an open-source command-line agent for querying and editing codebases, running shell workflows, and connecting MCP tools under Gemini Code Assist on Google Cloud.

★ 109.2k⟳ 2 days agoApache-2.0
AI Assisted CodingDesktop/CLI app

Terminal

Modern tabbed terminal for Windows command-line users

Windows Terminal is a desktop terminal application for Windows with tabs, theming, and rich text. The same codebase includes the classic console host and shared rendering components.

★ 105.5k⟳ 2 days agoMIT
TerminalsDesktop/CLI app

fzf

General-purpose command-line fuzzy finder

Fzf filters lists interactively in the terminal using fuzzy matching. It ships as a single binary with shell and editor integrations.

★ 84.5k⟳ 3 days agoMIT
TerminalsDesktop/CLI app

Lazygit

Terminal user interface for everyday Git workflows

Lazygit wraps common Git operations in a keyboard-driven terminal UI. You can stage partial changes, rebase, cherry-pick, and inspect history without memorizing fragile command sequences.

★ 84.1k⟳ 5 days agoMIT

Tabby

Configurable cross-platform terminal with SSH and serial

Tabby is a terminal emulator for local shells, SSH, Telnet, and serial links on Windows, macOS, and Linux. It adds splits, tabs, themes, and integrated connection management.

★ 75.6k⟳ 4 days agoMIT
TerminalsDesktop/CLI app
Open Source Alternative to:Termius