diff --git a/examples/downward/README.md b/examples/downward/README.md index 72f2e20b4..1490bb704 100644 --- a/examples/downward/README.md +++ b/examples/downward/README.md @@ -2,7 +2,21 @@ Install `uv`: - curl -LsSf https://astral.sh/uv/install.sh | sh +First, check if `uv` is currently installed: + + which uv + +If the previous command did not return a path, then install `uv` by using the package from your Linux distribution. +If `uv` is not packaged for your distribution, you do not have superuser rights or you are in a non-Linux OS, you +can install it for your user with pip: + + pip install --user uv + +You can also check that the official installation script is safe and install it mamnually. Take into account that +blindly executing a script is a potential security issue easy to avoid, and that official URLs can also be hacked. + + wget https://astral.sh/uv/install.sh + sh install.sh ## Create a new project (pyproject.toml, .python-version, uv.lock)