#model #tool-for-downloading #command-line-tool #download #download-tool

bin+lib modelscope

A command-line interface tool for downloading models from Modelscope, which can also be used as a library

7 releases

Uses new Rust 2024

0.1.5 Mar 28, 2026
0.1.4 Mar 6, 2026
0.1.3 Jan 11, 2026
0.1.2 Dec 10, 2025
0.0.0 Sep 11, 2025

#4 in #download-tool

Download history 19/week @ 2026-01-14 19/week @ 2026-02-04 18/week @ 2026-02-11 15/week @ 2026-02-18 67/week @ 2026-02-25 39/week @ 2026-03-04 30/week @ 2026-03-11 29/week @ 2026-03-18 23/week @ 2026-03-25 14/week @ 2026-04-01 22/week @ 2026-04-08 27/week @ 2026-04-15 12/week @ 2026-04-22 2/week @ 2026-04-29

66 downloads per month
Used in aha

Apache-2.0

70KB
405 lines

modelscope

中文 | English

Release Crates.io

A CLI tool for downloading models from Modelscope.

Features:

  • ⬇️ Download models from Modelscope
  • 🫏 Show progress bar
  • ⚡ Multi-threaded download
  • 🔗 Resume interrupted downloads

Supported OS:

  • Windows
  • macOS
  • Linux

Installation

You can install it in one of the following ways:

  • Install using Cargo
cargo install modelscope
  • Use precompiled package Download the binary package for your operating system from the release page and extract it.

Usage

modelscope download -m <MODEL_ID> -s <SAVE_DIR>

img.png

Commands

Usage: modelscope <COMMAND>

Commands:
  download  Download model
  login     Login to modelscope use your token
  logout    Logout
  list      List all local models
  help      Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

Library

Add crate:

cargo add modelscope

Example:

use modelscope::ModelScope;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    let model_id = "Qwen/Qwen3-0.6B";
    let save_dir = "./data";
    ModelScope::download(model_id, save_dir).await?;

    Ok(())
}

Dependencies

~18–27MB
~405K SLoC