| Crates.io | muv |
| lib.rs | muv |
| version | 0.1.6 |
| created_at | 2025-06-13 12:21:43.05836+00 |
| updated_at | 2025-06-24 07:46:49.094703+00 |
| description | Global environment management tool using uv |
| homepage | |
| repository | https://github.com/vineel7871/muv |
| max_upload_size | |
| id | 1711381 |
| size | 113,153 |
A command-line tool for managing global Python virtual environments using uv.
cargo install muv
muv-linux-amd64.tar.gz for Linux (x86_64)muv-linux-arm64.tar.gz for Linux (ARM64)muv-macos-amd64.tar.gz for macOS (Intel)muv-macos-arm64.tar.gz for macOS (Apple Silicon)tar -xzf muv-*.tar.gz
sudo mv muv /usr/local/bin/
# Or for a user-local installation:
# mkdir -p ~/.local/bin
# mv muv ~/.local/bin/
# export PATH="$HOME/.local/bin:$PATH"
chmod +x /usr/local/bin/muv
# Or for user-local:
# chmod +x ~/.local/bin/muv
After installation, you need to initialize muv in your shell:
# Initialize muv in your shell
muv init
# Source your shell configuration to apply changes
source ~/.bashrc # or ~/.zshrc if using zsh
# Create a new environment
# Create a new environment
muv create myenv --p 3.10
# Activate an environment
muv activate myenv
# Install packages
muv install numpy pandas
# Run a command in an environment
muv run myenv python script.py
# Install from requirements.txt file
muv install -r requirements.txt
# Install from pyproject.toml file
muv install -t pyproject.toml
users can generate completion scripts using:
Bash:
muv completions bash > /usr/local/etc/bash_completion.d/muv
Zsh:
muv completions zsh > "${fpath[1]}/_muv"
Fish:
muv completions fish > ~/.config/fish/completions/muv.fish"
And then source or restart their shell.
uv must be installed and available in your PATH. You can install it following the instructions at https://github.com/astral-sh/uvMIT