Commands Cheat Sheet

Evaluating engineering tools? Get the comparison in Google Sheets

(Perfect for making buy/build decisions or internal reviews.)

Most-used commands
Your email is safe thing.

Thankyou for your submission

We have sent the cheatsheet on your email!
Oops! Something went wrong while submitting the form.

Connection

mc config host add
Configure MinIO client to connect to a server

mc alias set
Set alias for MinIO server

mc admin info
Display MinIO server information

Bucket Operations

mc ls
List buckets

mc mb /
Make a bucket

mc rb /
Remove a bucket

mc ls /
List objects in bucket

mc stat /
Display bucket statistics

Object Operations

mc cp //
Copy objects

mc mv //
Move objects

mc rm //
Remove objects

mc cat //
Display object contents

mc stat //
Display object statistics

Monitoring & Metrics

mc admin prometheus generate
Generate Prometheus monitoring metrics

mc admin trace
Show trace for MinIO server

mc admin console
Show console logs

mc admin top locks
Show locks in real-time

mc admin top api
Show API calls in real-time

Health & Diagnostics

mc admin health
Check server health

mc admin obd
Generate on-board diagnostics

mc admin heal
Heal objects in MinIO server

mc admin profile cpu --duration 10s
CPU profiling of MinIO server

mc admin profile mem --duration 10s
Memory profiling of MinIO server

Policy & User Management

mc admin user add
Add a new user

mc admin user list
List all users

mc admin policy add
Add new policy

mc admin policy list
List policies

mc admin policy set user=
Set policy for user

Event Notifications

mc event add /
Add new event notification

mc event list /
List event notifications

mc event remove /
Remove event notification