microsoft / microsoft/winget-cli

Offline install capability

Open
#4,500 5 comments 16 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Command-Install 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 would like to be able to install a Winget application on an offline computer (not connected to the internet).
example:

Download the package with the following command (on a computer connected to the internet)
Winget download Winmerge.winmerge--download-directory c:\software --Scope machine

Copy the files downloaded to c:\software to the offline computers c:\software (Yaml file and program install file)

run the command "winget settings --enable LocalManifestFiles" to enable installing with Yaml files.

install the winget application with "winget install --manifest c:\software\WinMerge_2.16.40_Machine_X64_inno_en-US.yaml"

Proposed technical implementation details

another switch for a location of downloaded winget files, and if they don't exist or don't match the hash try to download.

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 download and winget install --manifest command flows described in the issue, including --download-directory and LocalManifestFiles. Define how an offline install locates downloaded files and handles missing or hash-mismatched files; done means the copied YAML and installer can install without internet access.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.