rux update

Purpose

Update dependencies

Synopsis

rux update [options]

Behavior

Re-resolves manifest dependencies and installs the newest versions allowed by their requirements and target conditions. --global updates every cached identity. Older exact versions remain cached until rux uninstall removes them.

Arguments

This command accepts no operands.

Options

OptionDescription
--globalUpdate all entries in the global environment cache
--registry <url>Registry API base URL to resolve and download from
--target <triple>Update dependencies applicable to a target platform

Global options may appear before or after the command. See Global options.

Output and exit status

Primary results are written to stdout. Progress, warnings, and errors are written to stderr.

Success exits 0, invalid command-line usage exits 2, and compiler, validation, filesystem, network, or generation failures exit 1 unless stated otherwise above.

Examples

rux update
rux update --global
rux update --target linux-aarch64
rux update --registry http://localhost:8080

Environment variables

RUX_REGISTRY_URL sets the registry when --registry is absent.

LOCALAPPDATA on Windows or HOME elsewhere determines the user package cache.

The global color environment behavior is described under Global options.