mc update
Syntax
The Pigsty-maintained client keeps mc update for command-line compatibility, but self-update is intentionally disabled. The command does not contact a release feed, download a binary, or replace the installed mc/mcli executable. It prints an error and exits with status 1.
Upgrade through Download & Install, the Pigsty package repository, or GitHub Releases.
The following command reports that self-update is disabled and exits with status 1:
The command has the following syntax:
- Brackets
[]indicate optional parameters. RELEASE-URLis accepted only for compatibility and is not contacted.
Copy the example to a text editor and modify as-needed before running the command in the terminal/shell.
The non-JSON error text is:
Global Flags
--json
mc-cmd
Optional
Formats the disabled-update error as one JSON Lines object. This flag does not enable updating.
For example: