-
-
Notifications
You must be signed in to change notification settings - Fork 423
Add WinGet installation instructions for Arduino CLI #3003
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Added installation instructions for Arduino CLI using WinGet on Windows.
CLA assistant check
All committers have signed the CLA.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking the time to submit a pull request @tanakamasayuki.
We only list the installation methods that are officially maintained by the Arduino company. The Windows Package Manager package was created by a 3rd party without any involvement from us.
Because we do not maintain the package, we can not guarantee that it will be up to date. It is entirely up to the community to add new versions, and it is common for the community to not manage to keep packages up to date. And in fact this is exactly what has already happened. The latest version available from the Windows Package Manager is 1.2.2. We have made two additional releases which contain important enhancements and fixes since that time. So the use of winget
to install Arduino CLI is actually harmful at this time.
For this reason, we are not able to accept your proposal for addition of this installation option to the official documentation.
jo-chemla
commented
Sep 16, 2025
Sorry to revive a recently closed PR.
@per1234 Would the Arduino team be interested in having a github action workflow based on winget-releaser (based on Komac) to push every new Arduino CLI github-release to the winget package registry? It is the official windows package manager, comes pre-installed with every windows >= 11 fresh install, does make a lot of sense.
Note, in the meantime, I've created a cron running every night via a github action that pushes new arduino CLI releases to winget registry as soon as they are detected, so the discrepancy should be removed. Note it would still be preferable to have the core arduino team officially support publishing the package, especially given how straightforward it is with the below github action.
Uses winget-releaser Requires a Classic Github Personal Access Token
with public_repo
scope is created, following this link, then the Token can be added to the repo as a secret named WINGET_ACC_TOKEN
. See below, that user also will have to fork the winget-pkgs repository.
Notes:
You will need to create a classic Personal Access Token (PAT) withpublic_repo
scope. New fine-grained PATs aren't supported by the action. Review #172 for information.
Fork microsoft/winget-pkgs under the same account/organization as the project's repository. If you are forking winget-pkgs on a different account (e.g. bot/personal account), you can use the fork-user input to specify the username of the account where the fork is present.
name: Publish to WinGet on: release: types: [ released ] jobs: publish: runs-on: windows-latest steps: - uses: vedantmgoyal9/winget-releaser@main with: identifier: ArduinoSA.CLI token: ${{ secrets.WINGET_TOKEN }} installers-regex: '\.exe$'
Added installation instructions for Arduino CLI using WinGet on Windows.
Please check if the PR fulfills these requirements
See how to contribute
before creating one)
our contributing guidelines
UPGRADING.md
has been updated with a migration guide (for breaking changes)configuration.schema.json
updated if new parameters are added.What kind of change does this PR introduce?
docs update.
Other information
imageI tested the above command on Windows 11.
In PowerShell, the path will not be reflected unless you start a new shell.