OlympHill
Nix Command (Grade A) logo

Nix Command (Grade A)Security-tested data-ai skill for Claude AI. Grade A. Nix CLI command guidelines. Use new unified CLI (nix subcommand) instead of legacy commands (nix-build, nix-env, nix-shell, etc.). Use when runnin

(0)
Daniel NikulshynReviewed by Daniel Nikulshyn·Updated July 2026

Overview

Nix CLI command guidelines. This tool provides guidelines for using the new unified CLI (nix subcommand) instead of legacy commands (nix-build, nix-env, nix-shell, etc.) when running or suggesting Nix commands. It is designed for use in environments where experimental features such as nix-command and flakes are enabled. The tool outlines the replacement commands for various operations like building, developing, package management, and Nix Store operations.

Key features

  • Guidelines for building and development
  • Package management command substitutions
  • Nix Store operation command substitutions
  • Hash command substitutions
  • Channel command substitutions
  • Examples of commonly used commands

Pricing

Model
Free
Category
Skills
Rating
No reviews yet

Use cases

Building and Developing

Use nix build and nix develop instead of nix-build and nix-shell for building and development environments.

Package Management

Use nix profile add, nix profile remove, and nix profile upgrade instead of nix-env -i, nix-env -e, and nix-env -u for package management.

Nix Store Operations

Use nix store gc and nix store optimise instead of nix-store --gc and nix-store --optimise for Nix Store operations.

Pros & Cons

Pros

  • Encourages adoption of the new unified Nix CLI
  • Helps transition from legacy commands to new nix subcommand format
  • Covers a wide range of use cases from building and development to package management and store operations

Cons

  • Limited to environments with nix-command and flakes enabled
  • May require adjustments to existing workflows that rely on legacy commands

Reviews

Sign in to leave a review.

No reviews yet. Be the first!

Q&A

Will adopting the new `nix <subcommand>` format affect my existing workflows that rely on `nix-shell`?

Yes. You should transition `nix-shell` calls to `nix develop` for development environments or `nix shell` for one‑off package installs, which may require adjustments to scripts and documentation.

Asked by Hana Kobayashi · Oct 20, 2025

What are the new unified CLI replacements for common legacy commands like `nix-build` and `nix-env`?

Use `nix build` instead of `nix-build`, `nix develop` (or `nix shell` for temporary environments) instead of `nix-shell`, and `nix profile add/remove/upgrade/list` in place of `nix-env` operations.

Asked by Zofia Kaczmarek · Sep 15, 2025

Can I use the Nix Command guidelines if my environment does not have the experimental nix-command and flakes enabled?

No. The guidelines are only applicable in environments where the experimental features `nix-command` and `flakes` are enabled; legacy commands are prohibited in such setups.

Asked by Jovana Petrovic · Aug 31, 2025

Ask a question

Skills alternatives

Manage Headers (Grade A) logo

Manage Headers (Grade A)

Skills

Security-tested development skill for Claude AI. Grade A. Inspects and configures the security headers a Power Pages site sends to browsers — Content Security Policy, frame and clickjacking protection

(0)
Free
Using Git Worktrees (Grade A) logo

Using Git Worktrees (Grade A)

Skills

Security-tested data-ai skill for Claude AI. Grade A. Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktre

(0)
Free
Ga4 Bigquery Schema (Grade A) logo

Ga4 Bigquery Schema (Grade A)

Skills

Security-tested data-ai skill for Claude AI. Grade A. GA4 BigQuery Export Schema Reference — complete field reference, nested structures, query patterns, and performance tips

(0)
Free
Meta Capi (Grade A) logo

Meta Capi (Grade A)

Skills

Security-tested data-ai skill for Claude AI. Grade A. Meta Conversions API (CAPI) Setup Reference — architecture, event types, customer information hashing, deduplication, implementation examples, AEM

(0)
Free
Callees (Grade A) logo

Callees (Grade A)

Skills

Security-tested development skill for Claude AI. Grade A. Lista o que uma funcao/metodo chama (call graph direto)

(0)
Free
Test Module Name (Grade A) logo

Test Module Name (Grade A)

Skills

Security-tested data-ai skill for Claude AI. Grade A. Name Haskell test modules after the module under test with a Spec suffix in the same namespace. Use when writing or reviewing Haskell test module

(0)
Free
Board Of Directors (Grade A) logo

Board Of Directors (Grade A)

Skills

Security-tested data-ai skill for Claude AI. Grade A. Simulate a 5-member expert board deliberation for major decisions. Use when evaluating plans, architecture choices, feature designs, or any decisi

(0)
Free
Advpl Mvc Avancado (Grade A) logo

Advpl Mvc Avancado (Grade A)

Skills

Security-tested development skill for Claude AI. Grade A. MVC avançado via PE (Pontos de Entrada) — adicionar grids customizadas em telas MVC padrão (CNTA300/MATA070/MATA440/MATA460/FINA040 via *STRU)

(0)
Free