nushell / nushell/nushell

System-scope "all users" install defaults to current user folder

Open
#17,111 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status:needs-triage
Dominant language
Rust
Stars
40.5k
Forks
2.3k
Avg merge
1d 14h
Merged PRs (30d)
79

Description

Bug report form
  • I have done a basic search of the issue tracker to find any existing issues that are similar.
  • I have checked that my version is at least the latest stable release available via my installation method.
Describe the bug

In the Windows installer, when installing for "all users" (system scope), the installer defaults to a user path instead of a system path.

How to reproduce
  1. nu-0.108.0-x86_64-pc-windows-msvc.msi
  2. Advanced
  3. Select "for all users"
  4. The path defaults to %USERPROFILE%\AppData\Local\Programs\nu\ instead of ProgramFiles
Expected behavior

The path defaults to %ProgramFiles%\Nushell\ or %ProgramFiles%\nu\

Configuration

Tested with 0.108.0 and 0.109.1, nu-0.108.0-x86_64-pc-windows-msvc.msi and nu-0.109.1-x86_64-pc-windows-msvc.msi

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 Windows MSI installer configuration responsible for the install-directory default, then reproduce the all-users flow with the listed 0.108.0 or 0.109.1 package. Done means the system-scope dialog defaults to a ProgramFiles path rather than the current user's AppData path.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems, release
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.