nix-env Verified for current stable LTS

Nix Env Command: Query Installed Packages

Use for query installed packages with Nix Env. Exact CLI syntax to query installed packages using Nix Env.

When to use this: Use for query installed packages with Nix Env.

Command Syntax

nix-env -q <search_pattern>

Command Breakdown

-q
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to query installed packages using Nix Env.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Nix Env directory