Skip to content

Instantly share code, notes, and snippets.

@iamnolanhu
Last active January 9, 2025 10:07
Show Gist options
  • Save iamnolanhu/6e553abf79115b6ae36912c370c3c6cb to your computer and use it in GitHub Desktop.
Save iamnolanhu/6e553abf79115b6ae36912c370c3c6cb to your computer and use it in GitHub Desktop.
# https://docs.astral.sh/uv/getting-started/installation/#standalone-installer
# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
uv python install
# Activates .venv or venv in the current directory if available
echo 'activate() { [ -f .venv/bin/activate ] && source .venv/bin/activate || echo "No virtual environment found in the current directory."; }' >> ~/.bashrc && source ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment