1
0
mirror of https://github.com/minio/docs.git synced 2025-08-09 13:02:53 +03:00
Files
docs/source/includes/minio-mc-installation.rst
hartraft 2fb4fb552a Add minio client ARM64 installation step (#680)
Reference the already published arm64 binary as more users are running
on ARM64

https://github.com/minio/docs/issues/679
2022-12-19 11:24:52 -05:00

93 lines
2.2 KiB
ReStructuredText

.. tab-set::
.. tab-item:: Linux
The following commands add a *temporary* extension to your system
PATH for running the ``mc`` utility. Defer to your operating system
instructions for making permanent modifications to your system PATH.
Alternatively, execute ``mc`` by navigating to the parent folder and
running ``./mc --help``
**64-bit Intel**
.. code-block:: shell
:class: copyable
curl https://dl.min.io/client/mc/release/linux-amd64/mc \
--create-dirs \
-o $HOME/minio-binaries/mc
chmod +x $HOME/minio-binaries/mc
export PATH=$PATH:$HOME/minio-binaries/
mc --help
**64-bit PPC**
.. code-block:: shell
:class: copyable
curl https://dl.min.io/client/mc/release/linux-ppc64le/mc \
--create-dirs \
-o ~/minio-binaries/mc
chmod +x $HOME/minio-binaries/mc
export PATH=$PATH:$HOME/minio-binaries/
mc --help
**ARM64**
.. code-block:: shell
:class: copyable
curl https://dl.min.io/client/mc/release/linux-arm64/mc \
--create-dirs \
-o ~/minio-binaries/mc
chmod +x $HOME/minio-binaries/mc
export PATH=$PATH:$HOME/minio-binaries/
mc --help
.. tab-item:: macOS
.. code-block:: shell
:class: copyable
brew install minio/stable/mc
mc --help
.. tab-item:: Windows
Open the following file in a browser:
https://dl.min.io/client/mc/release/windows-amd64/mc.exe
Execute the file by double clicking on it, *or* by running the
following in the command prompt or powershell:
.. code-block:: powershell
\path\to\mc.exe --help
.. tab-item:: Source
Installation from source is intended for developers and advanced users
and requires a working Golang environment. See
`How to install Golang <https://golang.org/doc/install>`__.
Run the following commands in a terminal environment to install ``mc``
from source:
.. code-block:: shell
:class: copyable
go install github.com/minio/mc@latest
:mc:`mc update` does not support source-based installations.