Skip to content

ossutil Installation Guide

When you need to download files quickly, you can use the ossutil tool. ossutil supports Windows, Linux, macOS, and other systems. You can download and install the appropriate version based on your environment.

Download Links
Linux x86 64bit
macOS 64bit
macOS ARM 64bit
Windows x86 64bit

Linux Users

Installation with root privileges

bash
sudo -v ; curl https://gosspublic.alicdn.com/ossutil/install.sh | sudo bash

TIP

During installation, you need an extraction tool (unzip, 7z) to unzip the package. Please install one of these tools beforehand. After installation, ossutil will be installed in the /usr/bin/ directory.

Verify if ossutil is successfully installed:

bash
ossutil

Installation without root privileges

Download the ossutil package:

bash
curl -o ossutil-v1.7.19-linux-amd64.zip https://gosspublic.alicdn.com/ossutil/1.7.19/ossutil-v1.7.19-linux-amd64.zip

TIP

This example uses Linux x86 64bit. For other systems, please refer to the download links above.

Execute the following unzip command in the directory containing the downloaded package:

bash
unzip ossutil-v1.7.19-linux-amd64.zip

Enter the ossutil-v1.7.19-linux-amd64 directory:

bash
cd ossutil-v1.7.19-linux-amd64

Execute the following command in the current directory:

bash
chmod 755 ossutil

TIP

Non-root users can only use ossutil with absolute paths.

macOS Users

Install ossutil:

bash
sudo -v ; curl https://gosspublic.alicdn.com/ossutil/install.sh | sudo bash

TIP

By default, it will be installed in the /usr/local/bin directory.

Verify if ossutil is successfully installed:

bash
ossutil