uv - Manual installation in MacOS

Download uv-aarch64-apple-darwin.tar.gz from https://github.com/astral-sh/uv/releases

Create a directory and move the binaries

mkdir -p $HOME/Professional/tools/uv

mv $HOME/Downloads/uv-aarch64-apple-darwin.tar.gz $HOME/Professional/tools/uv

Extract the binaries

cd $HOME/Professional/tools/uv

tar -xvzf uv-aarch64-apple-darwin.tar.gz

chmod -R a+rwx uv-aarch64-apple-darwin/*


Add the following environment variables to $HOME/.zshrc

export PATH="$HOME/Professional/tools/uv/uv-aarch64-apple-darwin/:$PATH"
export UV_PYTHON_INSTALL_DIR="$HOME/.local/share/uv/python"


Verify uv installation

uv --version 

Comments

Popular posts from this blog

Export/Backup Ollama Model

Download and run Hugging Face AI models in Ollama

Ubuntu (Linux) Desktop using RDP GUI with Windows WSL