Skip to content

Instantly share code, notes, and snippets.

@rahulbhadani
Last active April 17, 2025 23:53
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 install python 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