Rust-Script

Rust-Script 0.36.0

Run Rust files and expressions as scripts without any setup or compilation step.

  • By Fredrik Fornwall
  • Open Source
  • Portable
  • Updated Aug 16, 2025
Download for Windows

About Rust-Script

Run Rust script files without any setup or explicit compilation step, with seamless use of crates specified as dependencies inside the scripts.

What's new in 0.36.0

Fixed

  • Fix issue with --clear-cache when "projects" directory doesn't exist (#152).

Added

  • Allow passing additional arguments to cargo test and cargo bench (#146).

Internal

  • Update dependencies.

Full release notes »

Technical details

PublisherFredrik Fornwall
Version0.36.0
Release date2025-08-16
LicenseApache-2.0
Installer typezip
Architecturex64
Package IDFredrikFornwall.Rust-Script
DependenciesMicrosoft.VCRedist.2015+.x64

Install Rust-Script from the command line

Install with Windows Package Manager
winget install --id=FredrikFornwall.Rust-Script -e
Update to the latest version
winget upgrade --id=FredrikFornwall.Rust-Script -e
Uninstall
winget uninstall --id=FredrikFornwall.Rust-Script -e

Rust-Script adds this command to the command line: rust-script.

Install Rust-Script together with other apps in one command »

cargorustscript

Rust-Script version history

0.35.0 Sep 3, 2024

Fixed

  • Make RUST_SCRIPT_BASE_PATH report the correct path when rust-script executes with --base-path (#136).
  • Bump dependencies, raising MSRV from 1.64 to 1.74 (#138).
0.34.0 Sep 26, 2023

Added

  • Publish binaries on GitHub releases, for use with e.g. cargo binstall.

Frequently asked questions

Is Rust-Script free?

Yes. Rust-Script is free and open-source software released under the Apache-2.0 license.

What is the latest version of Rust-Script?

The latest version is 0.36.0, released on Aug 16, 2025.

Is it safe to download Rust-Script?

The download button links to the official installer published on github.com, the same file Windows Package Manager installs. You can verify the downloaded file by comparing its SHA-256 checksum with 9c724d7708929b53b68003e82a9eb0324870615aa6919bf25b7bf898b2c750c5.

Which Windows versions does Rust-Script support?

Rust-Script runs on Windows and is available for 64-bit (x64) systems.

How do I uninstall Rust-Script?

Open Settings › Apps › Installed apps, find Rust-Script and select Uninstall. From the command line, run winget uninstall --id=FredrikFornwall.Rust-Script -e.

Is there a portable version of Rust-Script?

Yes. Rust-Script is available as a portable ZIP archive (rust-script-x86_64-pc-windows-msvc.zip, 64-bit (x64)) that runs without installation. Copy it to any folder or USB drive and run it from there.