Documentation

Documentation

mc update

Table of Contents

Syntax

The mc update command automatically updates the mc binary to the latest stable version.

Running this command is equivalent to manually downloading the latest stable binary and using it to replace the existing mc installation on the host machine.

The following command updates the mc binary on the local host:

mc update

The command has the following syntax:

mc [GLOBALFLAGS] update
  • Brackets [] indicate optional parameters.

  • Parameters sharing a line are mutually dependent.

  • Parameters seperated using the pipe | operator are mutually exclusive.

Copy the example to a text editor and modify as-needed before running the command in the terminal/shell.

Use mc update after updating the minio server binary to ensure consistent behavior and compatibility.

Global Flags

--JSON
Optional

Enables JSON lines formatted output to the console.

For example:

mc --JSON COMMAND