The catalog in numbers

Every capability of Danaco Nurt is a command of one catalog. The core commands are always available; the other commands belong to optional groups that are described on request. The command catalog page shows how the catalog is built and checked.

The sections below follow the thing a command works on. Programs for each area are in the cookbook, which has twelve categories of recipes.

What the commands work on

Files and directories

list, find, info, read, lines, write, copy, move, remove, rename, create and attributes read and change files, directories, links and attributes. Paths can carry the provider prefixes registry:, env: and archive:; the file commands accept registry: paths on Windows. Every change goes through the journal, so it can be undone. Since 0.1.1, create also makes named pipes (type: fifo) and device nodes (type: device, with privilege: elevated) on Linux and macOS, and undo removes them.

Text

search looks for literal text, regular expressions or syntax patterns. replace, insert and edit change text; edit applies a list of changes to one file, all or none. diff, patch, hash and convert (encodings and line endings) complete the group. The guide on text editing shows the forms. Release 0.1.2 replaces 20,000 matches of a regular expression on a line of 60,000 bytes in about 0.1 s instead of 2.5 s.

search /oldName\(/ "/srv/app/src" glob: "**/*.go" |> assert paths: 12 |> replace "newName("

The program stops with E_ASSERT before any change unless the search found exactly 12 files, so the number of targets is part of the program.

Records

filter, select, sort, first, last, skip, count, group, summarize, distinct, describe, split, parse and evaluate work on the records produced by any source command.

find "/home/user/app" |> group by: extension |> summarize

Structured documents

set, query and sql work on documents by key path: JSON, JSONC, YAML, TOML, XML, INI, CSV, TSV, Java properties, environment files and property lists. set preserves the layout of the document, query takes a jq filter, and sql runs statements on an SQLite file. Since 0.1.1, sql accepts statements that change the database without write: true, journals the database file and its -wal, -shm and -journal files first, and keeps the call read-only with write: false. Ten notebook.* commands work on the cells of Jupyter notebooks. See the guides on documents and notebooks.

set "deploy.yaml" key: "#1:spec.replicas" value: 3

Source code

Thirteen code.* commands list symbols and outlines, find definitions and references, report diagnostics and rename symbols by syntax. The implementation of such a command is a language server or the built-in syntax analysis; a fallback from the server to the analysis is reported as semantic_fallback. Eight commands of the verify group wrap test frameworks and analyzers (test.run, analyze.check and others). See refactoring.

code.symbols "oldName" path: ["/srv/app/src"] kind: function |> code.rename "newName"

Version control

The git group has 22 commands that read and change repositories inside the program: git.status, git.diff, git.commit, git.rebase, git.push and others. The program implements repository access, credentials and SSH itself; repository hooks and filter drivers run under the rules of run. A change of the working tree is one journal operation. A push or fetch that updates remote references is marked irreversible. Since 0.1.1, OpenPGP signatures of commits and tags are made by GnuPG, and SSH signatures are made in the process.

Archives

archive.list, archive.extract, archive.create, compress and decompress handle archives and compressed files.

Network

The network group has http.request, http.download, network.ping, network.resolve and network.interfaces. A download writes a file and can be undone; a request with post, put, patch or delete is listed as irreversible in the report.

Processes

run starts a program without a shell and continues it as a background job after wait. jobs, retry and stop manage jobs; processes, ports, open_files, suspend and resume inspect and control the system. Since 0.1.1 the response of run is short by default, and next returns the rest from the kept output. See running programs and the system group.

System administration

The administration group has 34 commands. Services (services, start, restart, enable, disable) and Windows CIM objects (windows.cim, with method calls through invoke) are joined, since 0.1.1, by accounts, groups, mounts, kernel parameters and modules, power, disks, the firewall, routes, DNS and the clock. The registry provider and windows.cim work on Windows. Each command that changes the system reads the state it changes, reports unchanged when nothing is to do, records the state before and after, and accepts privilege (account, elevated or auto) with the backends sudo, doas and run0. The package group lists, searches, installs, removes and upgrades packages through apt, dnf, pacman, zypper, brew, winget, choco or scoop. host, disks, environment, accounts and logs report the state of the computer. The page journal and undo lists the changes that undo reverses; the other effects appear under irreversible in the effect report.

Scheduling

The schedule group has seven commands. One syntax replaces cron, systemd timers, launchd jobs and the Windows Task Scheduler; the action of a schedule is a program of the language, executed by the background service nurt-service. Each run is an ordinary operation with an entry in the journal.

Around the commands

Capability Where it is described
Checking a program without running it (nurt check, preview: true) The language
Conditions, loops, functions, steps and script parameters (since 0.1.1) The language
A report of the effects of every run Effect reports
Reviewing, undoing and redoing changes Journal and undo
Use by programs: nurt serve, nurt mcp, nurt lsp and the C interface Nurt for AI agents
Translating Bash and PowerShell scripts (nurt migrate) Migration

Release 0.1.2 runs on Linux, Windows and macOS. On macOS the journal is active for the paths of the data volume, max_memory measures the resident memory, and a program whose process group has ended is suspended, resumed and stopped without an error. The platforms page lists the differences between the systems.

Where to go next