Skip to content

Add winget instructions to Windows installation guide - #7521

Merged
conooi merged 9 commits into
dart-lang:mainfrom
sanathusk:add-winget-install-command
Sep 22, 2026
Merged

conooi merged 9 commits into
dart-lang:mainfrom
sanathusk:add-winget-install-command

Conversation

@sanathusk

Copy link
Copy Markdown
Contributor

This pull request adds instructions for installing, upgrading, and uninstalling the Dart SDK on Windows using the winget package manager (winget install --id=Google.DartSDK -e).


  • I’ve reviewed the contributor guide and applied the relevant portions to this PR.
  • This PR doesn't contain automatically generated corrections or text (Grammarly, LLMs, and similar).
  • This PR follows the Google Developer Documentation Style Guidelines — for example, it doesn't use i.e. or e.g., and it avoids I and we (first person).
  • This PR uses semantic line breaks of 80 characters or fewer.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Windows installation guide for the Dart SDK by adding instructions for using the winget package manager to install, upgrade, and uninstall the SDK. It also refactors the PATH environment variable setup steps to use markdown auto-numbering and clarifies Chocolatey-specific section headers. There are no review comments, and I have no feedback to provide.

@sanathusk
sanathusk force-pushed the add-winget-install-command branch from db6d542 to cafa30e Compare September 17, 2026 18:38

@conooi conooi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sanathusk Thanks for adding winget support! This is a great addition since winget is pre-installed on modern Windows and doesn't require administrator privileges.

Left a couple of minor comments:

  1. In this repository, numbered lists should use 1. for every item to allow easier reordering (both in the new winget section and reverting the Chocolatey section).
  2. Standardized the punctuation (Use the following command.) for consistency.
  3. (Optional) Updated the PowerShell line continuation character from ^ to `.

Once those are addressed, happy to approve!

Comment thread src/_includes/install/windows.md Resolved
Comment thread src/_includes/install/windows.md Resolved
Comment thread src/_includes/install/windows.md Resolved
Comment thread src/_includes/install/windows.md Resolved
Comment thread src/_includes/install/windows.md Resolved
Comment thread src/_includes/install/windows.md Resolved
@sanathusk
sanathusk requested a review from conooi September 22, 2026 08:18

@conooi conooi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making those updates, @sanathusk! LGTM 👍

@conooi

conooi commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

/gcbrun

@dart-github-bot

Copy link
Copy Markdown
Collaborator

@conooi
conooi merged commit ff40c1c into dart-lang:main Sep 22, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants