Installation
Danaco Nurt is one executable for each operating system: nurt on Linux and macOS, nurt.exe on Windows. The executable has no runtime dependencies.
Supported systems
| System | Architectures |
|---|---|
| Linux | x86_64, aarch64 |
| macOS | x86_64, aarch64 |
| Windows | x86_64, aarch64 |
Release artifacts
| Channel | Identifier |
|---|---|
| GitHub release | github.com/DanacoOfficial/danaco-nurt |
| Container image | ghcr.io/danacoofficial/nurt |
| winget | Danaco.Nurt |
| NuGet (library binding) | Danaco.Nurt |
| Maven (library binding) | pl.danaco-group:nurt |
Every release publishes SHA-256 sums of its artifacts. The installers install.sh and install.ps1 verify the sum before they place the executable.
Install on Linux and macOS
curl -fsSL https://nurt.danaco-group.pl/install.sh | sh
The script installs nurt into $HOME/.local/bin and needs no privileges. On Linux it takes the static musl archive when the release has one and the glibc archive otherwise. For a system-wide installation run the script as root with --bin-dir /usr/local/bin. The option --public-key verifies the signature of checksums.txt; the key and the procedure are in SECURITY.md.
Install on Windows
irm https://nurt.danaco-group.pl/install.ps1 | iex
By default the script installs for the current user. nurt.exe goes to %LOCALAPPDATA%\Programs\Nurt\bin, the documentation to %LOCALAPPDATA%\Programs\Nurt\doc, and the directory of the executable is added to the PATH of the user. No administrator privileges are needed.
To install for all users, start PowerShell with “Run as administrator” and set the scope before the call:
$env:NURT_SCOPE = 'machine'
irm https://nurt.danaco-group.pl/install.ps1 | iex
The scope machine installs into %ProgramFiles%\Nurt and changes the PATH of the machine. The variable NURT_INSTALL_DIR selects another directory for the executable.
Administrator rights
nurt.exe does not ask for elevation. Its manifest declares the execution level asInvoker, so the program runs with the rights of the terminal that starts it. Operations that need administrator rights, such as nurt service install, changes in the machine part of the registry and writes to system directories, work in a terminal that runs as administrator. The manifest also declares long path support and UTF-8 as the code page of the process.
Contents of the archives
| Archive | Files |
|---|---|
Program, Linux and macOS, directory nurt-<version>-<target>/ |
nurt, LICENSE, NOTICE, README.md, CHANGELOG.md, man/, completions/, doc/ |
| Program, Windows, files at the top level | nurt.exe, LICENSE, NOTICE, README.md, CHANGELOG.md, completions/, doc/ |
C library, Linux and macOS, directory nurt-lib-<version>-<target>/ |
libnurt.so.1 or libnurt.1.dylib, nurt.h, nurt.pc, LICENSE, NOTICE |
C library, Linux musl, directory nurt-lib-<version>-<target>/ |
libnurt.a (static), nurt.h, nurt.pc, LICENSE, NOTICE |
| C library, Windows, files at the top level | nurt.dll, nurt.h, LICENSE, NOTICE |
The C library archives are published for the targets that have a library; the installers install.sh and install.ps1 install the program archive only.
The directory doc/ holds this documentation as a site that works offline; open doc/index.html. The directory completions/ holds the completion scripts for Bash, Zsh, Fish, PowerShell and Elvish.
Build from source
The build needs a Rust toolchain installed with rustup and a C compiler. The toolchain version is pinned in rust-toolchain.toml.
git clone https://github.com/DanacoOfficial/danaco-nurt.git
cd nurt
cargo build --release --locked
The executable is written to target/release/nurt (target\release\nurt.exe on Windows).
Verification
nurt --version
The command prints the version, the copyright line and the license; the format is described in Command line. nurt doctor reports the properties of the file system, the permissions, the service and the language servers that it found.
License
The product is licensed under the Apache License, Version 2.0. Distributions include the NOTICE file. See Compatibility for the use of the name.