mirror of
https://github.com/karpathy/nanochat.git
synced 2025-12-06 04:12:13 +00:00
add uv to PATH to avoid command not found
This commit is contained in:
parent
dd6ff9a1cc
commit
53fe1cc18b
|
|
@ -20,6 +20,8 @@ mkdir -p $NANOCHAT_BASE_DIR
|
|||
|
||||
# install uv (if not already installed)
|
||||
command -v uv &> /dev/null || curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
|
||||
source ~/.bashrc
|
||||
# create a .venv local virtual environment (if it doesn't exist)
|
||||
[ -d ".venv" ] || uv venv
|
||||
# install the repo dependencies
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user