Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs/installation.md] Document how to install to custom locations #5455

Closed
wants to merge 1 commit into from

Conversation

SamuelMarks
Copy link

Summary

Closes #5449

Test Plan

$ curl --proto '=https' --tlsv1.2 -OLsSf https://github.com/astral-sh/uv/releases/download/0.2.29/uv-installer.sh
$ env -i CARGO_HOME=/tmp/foo/cargo HOME=/tmp/foo/home /usr/bin/bash uv-installer.sh --no-modify-path
downloading uv 0.2.29 x86_64-unknown-linux-gnu
installing to /tmp/foo/cargo/bin
  uv
  uvx
everything's installed!
$ tree -a /tmp/foo
/tmp/foo
├── cargo
│   └── bin
│       ├── uv
│       └── uvx
└── home
    └── .config
        └── uv
            └── uv-receipt.json

6 directories, 3 files

@zanieb zanieb self-assigned this Jul 25, 2024
@zanieb
Copy link
Member

zanieb commented Jul 30, 2024

Sorry I was on vacation — I'll get to this soon!

@zanieb
Copy link
Member

zanieb commented Aug 6, 2024

I'm a little worried this is too complicated. I wonder if we should add a custom environment variable to make this possible? Is there a reason the download is separate from the install invocation?

@FCamborda FCamborda mentioned this pull request Aug 13, 2024
@zanieb zanieb mentioned this pull request Aug 22, 2024
@zanieb zanieb added the releases Related to building and distributing release artifacts of uv label Aug 23, 2024
@zanieb
Copy link
Member

zanieb commented Sep 17, 2024

This is documented in a simpler way at https://docs.astral.sh/uv/getting-started/installation/#configuring-installation

See #7107

Thanks for contributing though this was really helpful while we waited for upstream to add simpler support

@zanieb zanieb closed this Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
releases Related to building and distributing release artifacts of uv
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document how to set uv install directory from uv-installer.sh
2 participants