microsoft / microsoft/winget-cli

Support import --scope=machine

Open
#3,850 1 comment 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Command-Import Issue-Feature
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Description of the new feature / enhancement

I am unaware of a way to install a list of applications from the exported .json file for all users. Import is used to install the list of applications from the .json file but the import command does not support --scope=machine.

I don't care what the solution is... I just want a way to export all my applications to a .json with winget on one machine and then to take it to another machine an install all of these applications FOR ALL USERS of that second machine.

There appears to be no way of doing this that I have found...

Proposed technical implementation details

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 with the winget CLI's Import command and trace how it reads an exported .json file and applies installation scope. Define the machine-wide behavior for the imported application list, then verify that importing on another machine installs the applications for all users.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.