- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 431
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.
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.
| 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  
 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$' | 
| Hi @per1234 would you be interested in the above automated github action workflow being pushed as a PR to  | 
| Hi @jo-chemla. I mostly only serve a janitorial role for this project. The decision regarding your proposal would need to be made by someone with more of a management role. In order to ensure those team members will notice and be able to effectively track your proposal (which they might not do here in this closed issue), I recommend you create a dedicated issue. If you find it more convenient to make the proposal in the form of a pull request adding the workflow instead of an issue, that is perfectly fine too. | 
| Thanks for getting back, just did submit the PR here! #3033 | 
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.mdhas been updated with a migration guide (for breaking changes)configuration.schema.jsonupdated if new parameters are added.What kind of change does this PR introduce?
docs update.
Other information
I tested the above command on Windows 11.
In PowerShell, the path will not be reflected unless you start a new shell.