Support --scope flag for winget installation
Related problem
As of now Nushell doesn't provide a straightforward way to be installed with different scopes (user or machine) depending on the preferences. This leads to confusion and issues (see https://github.com/nushell/nushell/issues/13281, https://github.com/nushell/nushell/issues/11240, https://github.com/nushell/nushell/issues/12748, https://github.com/nushell/nushell/issues/5927)
Describe the solution you'd like
Nushell should be possible to be installed via winget with both user and machine scope
winget install --id Nushell.Nushell --scope user -> installs with user scope
winget install --id Nushell.Nushell --scope machine -> installs with machine scope (requires elevated privileges)
The default should be user scope
Describe alternatives you've considered
Keep it as is and default to user scope. Use winget install --id Nushell.Nushell --override "ALLUSERS=1" as a workaround to force per machine installation.
Additional context and details
No response