Skip to content

Instantly share code, notes, and snippets.

@rahulbhadani
Last active April 29, 2025 21:24
Show Gist options
  • Save rahulbhadani/2848c101d133b070c44de424b30dc60e to your computer and use it in GitHub Desktop.
Save rahulbhadani/2848c101d133b070c44de424b30dc60e to your computer and use it in GitHub Desktop.
UV Enviornment
# start a new project
uv init --lib --package dev --build-backend maturin --author-from "Rahul Bhadani"
cd dev
# install python
uv python install 3.12
# create a virtual environment
uv venv --python 3.12
# activate virtual environment
source .venv/bin/activate
# Source: https://flocode.substack.com/p/044-python-environments-again-uv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment