Skip to main content

Installation

Run the following command in PowerShell to install UV:

Commands

Initialize a Project

Set up a new project with the following command:

Manage Dependencies

Define project dependencies using the .toml file.

Run the Main Program

Run the main program and create a .venv virtual environment:

Install Packages

Add packages to your project with:

Run a Program with Specific Packages

Install packages and run a script in one step:

Additional Resources

For more information, refer to the UV and Ruff using Rust Documentation.