rust-lang / rust-lang/rustup

Add notice to the rustup installer of environment variables in order to change install directory

Open
#3,528 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
7k
Forks
1.1k
Avg merge
22h 40m
Merged PRs (30d)
46

Description

Problem you are trying to solve

User wants to install rust to a different drive (on e.g. Windows) or user/software path (Linux/Mac). There is no explicit mention of this when installing. Had to resort to internet search to find solution to the issue (default documentation should not be closed bugs and reddit threads).

Solution you'd like

Either an interactive option or a message to set (bonus points for setting environment variables from rustup) the CARGO_HOME/RUST_HOME variables in order to change the install directory.

Notes

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the rustup installer messaging and its handling of CARGO_HOME and RUST_HOME. The work is done when installation clearly tells users how to change the install directory, or provides the agreed interactive option, with the resulting behavior covered by the relevant installer checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.