MinIO, the open-source object storage giant, has drastically removed the core code of its Web Management Console in community releases following version 20250524. With approximately 110,000 lines of code stripped away, the community is in an uproar, accusing MinIO of “burning bridges”—reaping the benefits of open source only to pull the plug on its most accessible features. As I’ve been developing a private project utilizing MinIO recently, I’ve had to rely on AI and documentation to master the basic commands. Since the Web UI is gone, understanding mc is now essential for permission control and general management. Consider this a guide born out of necessity.

Developer Backlash

What is mc?
Don’t be mistaken—this mc isn’t about mining blocks in Minecraft. It stands for MinIO Client. This is the official, incredibly powerful command-line tool and the primary way to interact with a MinIO server. You can install it easily through several methods.
安装
- Direct Binary Download (Recommended)
# Download mc for Linux amd64wget https://dl.min.io/client/mc/release/linux-amd64/mc# Grant execution permissionschmod +x mc# Move to a system PATH directory (e.g., /usr/local/bin/) for global accesssudo mv mc /usr/local/bin/- Docker Installation
# Pull the mc Docker imagedocker pull minio/mc# Run a temporary container to execute a command (e.g., listing a bucket)docker run minio/mc ls myminioCommand Guide
For a full list of all
mccommands, refer to the official documentation. This section covers the most common and critical operations.
Running mc --help displays all available commands. Here are the core categories:
alias Manage server aliases (configures connection info) admin Manage MinIO servers (users, policies, config, etc.) ... ... ls List buckets and objects mb Make bucket cp Copy objects mv Move/Rename objects rm Remove objects cat Display object content head Display first part of an object pipe Stream from STDIN to an object put Upload local files to a bucket mirror Synchronize local directories to remote buckets (Powerful sync tool) du Summarize disk usage diff Compare differences between two buckets find Search for objects ... ... (Other important commands: policy, user, config, event, ilm, etc.)Essential Commands Detail
Alias Management
- Setting a Connection (alias):
mc alias set ALIAS HOST ACCESSKEY SECRETKEY# Example: Connecting to a local MinIO instancemc alias set myminio http://localhost:9000 minioadmin minioadmin- List all configured aliases:
mc alias list- Remove an existing alias:
mc alias remove ALIASAdministration (admin)
- Check Server Information:
mc admin info ALIAS# Example: Check status for myminiomc admin info myminio- User Management:
# Add a usermc admin user add ALIAS ACCESSKEY SECRETKEY# Example: Add user AK:test SK:123456 to myminiomc admin user add myminio test 123456
# Disable a usermc admin user disable ALIAS USERNAME
# Enable a usermc admin user enable ALIAS USERNAME
# View user infomc admin user info ALIAS USERNAME
# List all usersmc admin user ls ALIAS
# Remove a usermc admin user rm ALIAS USERNAME- PBAC (Policy-Based Access Control) Management:
# Create a policymc admin policy create ALIAS POLICYNAME POLICYPATH# Example: Create "listmybuckets" policy using a local JSON filemc admin policy create myminio listmybuckets /tmp/listmybuckets.json
# Attach an IAM policy to a MinIO user or groupmc admin policy attach ALIAS POLICY [POLICY...] [--user USER | --group GROUP]# Example: Bind the "listmybuckets" policy to user "test" on myminiomc admin policy attach myminio listmybuckets test
# List all policiesmc admin policy ls ALIAS
# View policy detailsmc admin policy info ALIAS POLICYNAME
# List entities (users/groups) associated with a policymc admin policy entities ALIAS [--user value] [--group value] [--policy value]
# Delete a policymc admin policy rm ALIAS POLICYNAME🔗 Related Links