{"id":13440867,"url":"https://github.com/chocolatey/choco","last_synced_at":"2025-09-09T20:39:05.576Z","repository":{"id":25222900,"uuid":"28647218","full_name":"chocolatey/choco","owner":"chocolatey","description":"Chocolatey - the package manager for Windows","archived":false,"fork":false,"pushed_at":"2025-09-04T09:40:03.000Z","size":45476,"stargazers_count":10979,"open_issues_count":613,"forks_count":929,"subscribers_count":233,"default_branch":"develop","last_synced_at":"2025-09-09T09:34:44.507Z","etag":null,"topics":["c-sharp","chocolatey","hacktoberfest","package-management","package-manager","package-manager-tool","powershell","software","software-management","softwareautomation","windows","windows-server"],"latest_commit_sha":null,"homepage":"https://chocolatey.org","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chocolatey.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2014-12-30T22:12:11.000Z","updated_at":"2025-09-09T07:23:03.000Z","dependencies_parsed_at":"2024-04-23T14:15:48.006Z","dependency_job_id":"08550fd2-81a5-4c18-b3b7-14af041962d3","html_url":"https://github.com/chocolatey/choco","commit_stats":{"total_commits":3646,"total_committers":127,"mean_commits":"28.708661417322833","dds":"0.40043883708173345","last_synced_commit":"89a5634e689f3e972f10007418cd87e4e4fbed02"},"previous_names":[],"tags_count":93,"template":false,"template_full_name":null,"purl":"pkg:github/chocolatey/choco","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chocolatey%2Fchoco","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chocolatey%2Fchoco/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chocolatey%2Fchoco/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chocolatey%2Fchoco/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chocolatey","download_url":"https://codeload.github.com/chocolatey/choco/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chocolatey%2Fchoco/sbom","scorecard":{"id":278580,"data":{"date":"2025-08-11","repo":{"name":"github.com/chocolatey/choco","commit":"1f84420f7554e038878ab89ab030b1df3eb57626"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.3,"checks":[{"name":"Maintained","score":10,"reason":"30 commit(s) and 22 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Warn: no topLevel permission defined: .github/workflows/top-issues.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/vote-for-issue.yml:6","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":1,"reason":"binaries present in source code","details":["Warn: binary detected: lib/PowerShell/System.Management.Automation.dll:1","Warn: binary detected: lib/Rhino.Licensing.1.4.1/lib/net40/Rhino.Licensing.dll:1","Warn: binary detected: src/chocolatey.resources/redirects/choco.exe:1","Warn: binary detected: src/chocolatey.resources/tools/7z.dll:1","Warn: binary detected: src/chocolatey.resources/tools/7z.exe:1","Warn: binary detected: src/chocolatey.resources/tools/checksum.exe:1","Warn: binary detected: src/chocolatey.resources/tools/shimgen.exe:1","Warn: binary detected: tests/helpers/common/NuGet.Versioning.dll:1","Warn: binary detected: tests/packages/business-only-license/tools/7z1900-x64.exe:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 2.5.0 not signed: https://api.github.com/repos/chocolatey/choco/releases/231067048","Warn: release artifact 2.4.3 not signed: https://api.github.com/repos/chocolatey/choco/releases/202754143","Warn: release artifact 1.4.3 not signed: https://api.github.com/repos/chocolatey/choco/releases/198392078","Warn: release artifact 2.4.2 not signed: https://api.github.com/repos/chocolatey/choco/releases/197307512","Warn: release artifact 2.5.0 does not have provenance: https://api.github.com/repos/chocolatey/choco/releases/231067048","Warn: release artifact 2.4.3 does not have provenance: https://api.github.com/repos/chocolatey/choco/releases/202754143","Warn: release artifact 1.4.3 does not have provenance: https://api.github.com/repos/chocolatey/choco/releases/198392078","Warn: release artifact 2.4.2 does not have provenance: https://api.github.com/repos/chocolatey/choco/releases/197307512"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Security-Policy","score":9,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/chocolatey/.github/.github/SECURITY.md:1","Info: Found linked content: github.com/chocolatey/.github/.github/SECURITY.md:1","Warn: One or no descriptive hints of disclosure, vulnerability, and/or timelines in security policy","Info: Found text in security policy: github.com/chocolatey/.github/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/chocolatey/choco/build.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/chocolatey/choco/build.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:63: update your workflow using https://app.stepsecurity.io/secureworkflow/chocolatey/choco/build.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:90: update your workflow using https://app.stepsecurity.io/secureworkflow/chocolatey/choco/build.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:94: update your workflow using https://app.stepsecurity.io/secureworkflow/chocolatey/choco/build.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:103: update your workflow using https://app.stepsecurity.io/secureworkflow/chocolatey/choco/build.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:118: update your workflow using https://app.stepsecurity.io/secureworkflow/chocolatey/choco/build.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:122: update your workflow using https://app.stepsecurity.io/secureworkflow/chocolatey/choco/build.yml/develop?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:127: update your workflow using https://app.stepsecurity.io/secureworkflow/chocolatey/choco/build.yml/develop?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:129: update your workflow using https://app.stepsecurity.io/secureworkflow/chocolatey/choco/build.yml/develop?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:131: update your workflow using https://app.stepsecurity.io/secureworkflow/chocolatey/choco/build.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/chocolatey/choco/build.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/chocolatey/choco/build.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/chocolatey/choco/build.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/stale.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/chocolatey/choco/stale.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/chocolatey/choco/test.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/chocolatey/choco/test.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/chocolatey/choco/test.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/chocolatey/choco/test.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/chocolatey/choco/test.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/chocolatey/choco/test.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:76: update your workflow using https://app.stepsecurity.io/secureworkflow/chocolatey/choco/test.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:80: update your workflow using https://app.stepsecurity.io/secureworkflow/chocolatey/choco/test.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:89: update your workflow using https://app.stepsecurity.io/secureworkflow/chocolatey/choco/test.yml/develop?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/top-issues.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/chocolatey/choco/top-issues.yml/develop?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/vote-for-issue.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/chocolatey/choco/vote-for-issue.yml/develop?enable=pin","Warn: containerImage not pinned by hash: docker/Dockerfile.linux:2","Warn: containerImage not pinned by hash: docker/Dockerfile.linux:46","Warn: containerImage not pinned by hash: docker/Dockerfile.windows:1: pin your Docker image by updating mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2016 to mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2016@sha256:53e6720ad7876c30081ad22c7754851044dced446abed94a0f88cb5f0bf0846c","Info:   0 out of  21 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction dependencies pinned","Info:   0 out of   3 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/build.yml:114"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T15:09:00.625Z","repository_id":25222900,"created_at":"2025-08-17T15:09:00.631Z","updated_at":"2025-08-17T15:09:00.631Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274358543,"owners_count":25270679,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c-sharp","chocolatey","hacktoberfest","package-management","package-manager","package-manager-tool","powershell","software","software-management","softwareautomation","windows","windows-server"],"created_at":"2024-07-31T03:01:27.213Z","updated_at":"2025-09-09T20:39:05.554Z","avatar_url":"https://github.com/chocolatey.png","language":"C#","readme":"# Chocolatey - like yum or apt-get, but for Windows\r\nYou can just call me choco.\r\n\r\n![Chocolatey Logo](https://rawcdn.githack.com/chocolatey/choco/14a627932c78c8baaba6bef5f749ebfa1957d28d/docs/logo/chocolateyicon.gif \"Chocolatey\")\r\n\r\n[![](https://img.shields.io/chocolatey/dt/chocolatey.svg)](https://community.chocolatey.org/packages/chocolatey)\r\n[![](https://img.shields.io/chocolatey/v/chocolatey.svg)](https://community.chocolatey.org/packages/chocolatey)\r\n[![Docker Image Version (latest semver)](https://img.shields.io/docker/v/chocolatey/choco?label=docker\u0026logo=docker\u0026sort=semver)](https://hub.docker.com/r/chocolatey/choco)\r\n[![Project Stats](https://www.openhub.net/p/chocolatey/widgets/project_thin_badge.gif)](https://www.openhub.net/p/chocolatey)\r\n[![Coverage Status](https://coveralls.io/repos/github/chocolatey/choco/badge.svg?branch=develop)](https://coveralls.io/github/chocolatey/choco?branch=develop)\r\n\r\n\u003c!-- TOC --\u003e\r\n\r\n- [Build Status](#build-status)\r\n- [Chat Room](#chat-room)\r\n- [Support Chocolatey!](#support-chocolatey)\r\n- [See Chocolatey In Action](#see-chocolatey-in-action)\r\n- [Etiquette Regarding Communication](#etiquette-regarding-communication)\r\n- [Information](#information)\r\n  - [Documentation](#documentation)\r\n  - [Requirements](#requirements)\r\n  - [License / Credits](#license--credits)\r\n- [Submitting Issues](#submitting-issues)\r\n- [Contributing](#contributing)\r\n- [Committers](#committers)\r\n  - [Compiling / Building Source](#compiling--building-source)\r\n    - [Windows](#windows)\r\n    - [Other Platforms](#other-platforms)\r\n      - [Prerequisites:](#prerequisites)\r\n      - [Before building:](#before-building)\r\n      - [Build Process:](#build-process)\r\n  - [Testing](#testing)\r\n  - [Installing on Other Platforms:](#installing-on-other-platforms)\r\n- [Credits](#credits)\r\n\r\n\u003c!-- /TOC --\u003e\r\n\r\n## Build Status\r\n\r\n| GitHub Action                                                                                                                                                                                                  |\r\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\r\n| [![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/chocolatey/choco/build.yml?branch=develop\u0026logo=github)](https://github.com/chocolatey/choco/actions/workflows/build.yml)  |\r\n\r\n## Chat Room\r\n\r\nCome join in the conversation about Chocolatey in our Community Chat Room.\r\n\r\n[![Discord](https://img.shields.io/discord/778552361454141460?logo=Discord)](https://ch0.co/community)\r\n\r\nPlease make sure you've read over and agree with the [etiquette regarding communication](#etiquette-regarding-communication).\r\n\r\n## Support Chocolatey!\r\n\r\n * Purchase [Chocolatey Pro / Chocolatey for Business](https://chocolatey.org/pricing#compare)\r\n\r\n## See Chocolatey In Action\r\n\r\nChocolatey FOSS install showing tab completion and `refreshenv` (a way to update environment variables without restarting your shell):\r\n\r\n![install](https://raw.githubusercontent.com/wiki/chocolatey/choco/images/gifs/choco_install.gif \"Wat? Tab completion and updating environment variables!\")\r\n\r\n[Chocolatey Pro](https://chocolatey.org/compare) showing private CDN download cache and virus scan protection:\r\n\r\n![install w/pro](https://raw.githubusercontent.com/wiki/chocolatey/choco/images/gifs/chocopro_install_stopped.gif \"Chocolatey Pro availability now! A great option for individuals looking for that community PLUS option.\")\r\n\r\n## Etiquette Regarding Communication\r\n\r\nIf you are an open source user requesting support, please remember that most folks in the Chocolatey community are volunteers that have lives outside of open source and are not paid to ensure things work for you, so please be considerate of others' time when you are asking for things. Many of us have families that also need time as well and only have so much time to give on a daily basis. A little consideration and patience can go a long way. After all, you are using a pretty good tool without cost. It may not be perfect (yet), and we know that.\r\n\r\nIf you are using a [commercial edition of Chocolatey](https://chocolatey.org/compare#compare), you have different terms! Please see [support](https://chocolatey.org/support).\r\n\r\n## Information\r\n\r\n * [Chocolatey Website and Community Package Repository](https://community.chocolatey.org)\r\n * [Mailing List](https://groups.google.com/group/chocolatey) / [Release Announcements Only Mailing List](https://groups.google.com/group/chocolatey-announce) / [Build Status Mailing List](http://groups.google.com/group/chocolatey-build-status)\r\n * [Twitter](https://twitter.com/chocolateynuget) / [Facebook](https://www.facebook.com/ChocolateySoftware) / [GitHub](https://github.com/chocolatey)\r\n * [Blog](https://blog.chocolatey.org/) / [Newsletter](https://chocolatey.us8.list-manage1.com/subscribe?u=86a6d80146a0da7f2223712e4\u0026id=73b018498d)\r\n * [Documentation](https://docs.chocolatey.org/en-us/) / [Support](https://chocolatey.org/support)\r\n\r\n### Documentation\r\n\r\nPlease see the [docs](https://docs.chocolatey.org/en-us/)\r\n\r\nGive `choco.exe --help` a shot (or `choco.exe -h`). For specific commands, add the command and then the help switch e.g. `choco.exe install --help`.\r\n\r\n### Requirements\r\n\r\n* .NET Framework 4.8+\r\n* PowerShell 2.0+\r\n* Windows Server 2008 R2+ / Windows 10+\r\n  - See our documentation on the [support lifecycle and supported operating systems](https://docs.chocolatey.org/en-us/information/support-lifecycle) for additional information\r\n\r\n### License / Credits\r\n\r\nApache 2.0 - see [LICENSE](https://github.com/chocolatey/choco/blob/master/LICENSE) and [NOTICE](https://github.com/chocolatey/choco/blob/master/NOTICE) files.\r\n\r\n## Submitting Issues\r\n\r\n![submitting issues](https://cloud.githubusercontent.com/assets/63502/12534554/6ea7cc04-c224-11e5-82ad-3805d0b5c724.png)\r\n\r\n * If you are having issue with a package, please see [Request Package Fixes or Updates / Become a maintainer of an existing package](https://docs.chocolatey.org/en-us/community-repository/users/package-triage-process).\r\n * If you are looking for packages to be added to the community feed (aka https://community.chocolatey.org/packages), please see [Package Requests](https://docs.chocolatey.org/en-us/community-repository/users/package-triage-process#package-request-package-missing).\r\n\r\n 1. Start with [Troubleshooting](https://docs.chocolatey.org/en-us/troubleshooting) and the [FAQ](https://docs.chocolatey.org/en-us/faqs) to see if your question or issue already has an answer.\r\n 1. If not found or resolved, please follow one of the following avenues:\r\n    * If you are a licensed customer, please see [support](https://chocolatey.org/support). You can also log an issue to [Licensed Issues](https://github.com/chocolatey/chocolatey-licensed-issues) and we will submit issues to all other places on your behalf. Another avenue is to use email support to have us submit tickets and other avenues on your behalf (allowing you to maintain privacy).\r\n    * If it is an enhancement request or issue with the website (the community package repository aka [https://community.chocolatey.org](https://community.chocolatey.org)), please submit the issue to the [Chocolatey.org repo](https://github.com/chocolatey/home).\r\n    * If you have found an issue with the GUI (Chocolatey GUI) or you want to submit an enhancement, please see [the ChocolateyGUI repository](https://github.com/chocolatey/ChocolateyGUI#submitting-issues).\r\n    * If you have found an issue with the client (choco.exe), you are in the right place. Keep reading below.\r\n\r\nObserve the following help for submitting an issue:\r\n\r\nPrerequisites:\r\n\r\n * The issue has to do with choco itself and is not a package or website issue.\r\n * Please check to see if your issue already exists with a quick search of the issues. Start with one relevant term and then add if you get too many results.\r\n * You are not submitting an \"Enhancement\". Enhancements should observe [CONTRIBUTING](https://github.com/chocolatey/choco/blob/develop/CONTRIBUTING.md) guidelines.\r\n * You are not submitting a question - questions are better served as [emails](https://groups.google.com/group/chocolatey) or [Community Chat questions](https://ch0.co/community-support).\r\n * Please make sure you've read over and agree with the [etiquette regarding communication](#etiquette-regarding-communication).\r\n\r\nSubmitting a ticket:\r\n\r\n * We'll need debug and verbose output, so please run and capture the log with `-dv` or `--debug --verbose`. You can submit that with the issue or create a gist and link it.\r\n * **Please note** that the debug/verbose output for some commands may have sensitive data (passwords or API keys) related to Chocolatey, so please remove those if they are there prior to submitting the issue.\r\n * choco.exe logs to a file in `$env:ChocolateyInstall\\log\\`. You can grab the specific log output from there so you don't have to capture or redirect screen output. Please limit the amount included to just the command run (the log is appended to with every command).\r\n * Please save the log output in a [gist](https://gist.github.com) (save the file as `log.sh`) and link to the gist from the issue. Feel free to create it as secret so it doesn't fill up against your public gists. Anyone with a direct link can still get to secret gists. If you accidentally include secret information in your gist, please delete it and create a new one (gist history can be seen by anyone) and update the link in the ticket (issue history is not retained except by email - deleting the gist ensures that no one can get to it). Using gists this way also keeps accidental secrets from being shared in the ticket in the first place as well.\r\n * We'll need the entire log output from the run, so please don't limit it down to areas you feel are relevant. You may miss some important details we'll need to know. This will help expedite issue triage.\r\n * It's helpful to include the version of choco, the version of the OS, and the version of PowerShell (Posh) - the debug script should capture all of those pieces of information.\r\n * Include screenshots and/or animated gifs whenever possible, they help show us exactly what the problem is.\r\n\r\n## Contributing\r\n\r\nIf you would like to contribute code or help squash a bug or two, that's awesome. Please familiarize yourself with [CONTRIBUTING](https://github.com/chocolatey/choco/blob/develop/CONTRIBUTING.md).\r\n\r\nThis project uses an [.editorconfig](https://editorconfig.org) file in order to help maintain consistency of code.\r\nErrors and warnings produced by not following these defined conventions will in future be enforced at build time, so ensure your contributions adhere to the rules defined in it and produce no warnings or errors in Visual Studio.\r\n\r\n## Committers\r\n\r\nCommitters, you should be very familiar with [COMMITTERS](https://github.com/chocolatey/choco/blob/develop/COMMITTERS.md).\r\n\r\n### Compiling / Building Source\r\n\r\nThere is a `build.bat`/`build.sh` file that creates a necessary generated file named `SolutionVersion.cs`. It must be run at least once before Visual Studio will build.\r\n\r\n#### Windows\r\n\r\nPrerequisites:\r\n\r\nThe following are a minimum set of requirements to successfully complete the build process:\r\n\r\n * .NET Framework 4.8\r\n * .NET Framework 4.8 Dev Pack\r\n * Visual Studio 2019 or Visual Studio 2019 Build Tools\r\n * .NET SDK (i.e. ability to install .NET Global tools using `dotnet tool install`)\r\n\r\nThere is a `setup.ps1` file at the root of this repository, which can be used to install all of the above.\r\n\r\nBuild Process:\r\n\r\n * Run `build.bat`.\r\n\r\n\u003e [!IMPORTANT]\r\n\u003e It is assumed that Chocolatey CLI is installed on the machine where you are running the build, as this is required to generate the final Chocolatey package.\r\n\u003e If required, you can skip the creation of the Chocolatey packages using the `--shouldRunChocolatey` option, i.e. `.\\build.bat --shouldRunChocolatey=false`\r\n\r\nRunning the build on Windows should produce an artifact that is tested and ready to be used.\r\n\r\n#### Other Platforms\r\n\r\n##### Prerequisites:\r\n\r\n * Install and configure Mono. Mono 6.6 or newer should work, see `docker/Dockerfile.linux` for the currently recommended version of Mono.\r\n    * Linux systems; see [Mono install instructions for Linux](https://www.mono-project.com/download/stable/#download-lin)\r\n    * Mac systems; see [Mono install instructions for Mac](https://www.mono-project.com/download/stable/#download-mac)\r\n * Install .NET 6.0 SDK or newer. This is used in the build scripts.\r\n    * Linux systems; see [Install .NET on Linux](https://learn.microsoft.com/en-us/dotnet/core/install/linux)\r\n    * Mac systems; see [Install .NET on macOS](https://learn.microsoft.com/en-us/dotnet/core/install/macos)\r\n    * This is required for some Dotnet Global Tools used during the Cake build. The .NET Frameworks equivalent builds do not work on Mono.\r\n * If building from Git, then having Git 2.22+ installed is required.\r\n * MonoDevelop is helpful for working on source.\r\n\r\n##### Before building:\r\n\r\n * Consider adding the following to your `~/.profile` (or other relevant dot source file):\r\n\r\n```sh\r\n# Mono\r\n# http://www.michaelruck.de/2010/03/solving-pkg-config-and-mono-35-profile.html\r\n# https://cloudgen.wordpress.com/2013/03/06/configure-nant-to-run-under-mono-3-06-beta-for-mac-osx/\r\nexport PKG_CONFIG_PATH=/opt/local/lib/pkgconfig:/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig:$PKG_CONFIG_PATH\r\n```\r\n\r\n * Set your permissions correctly:\r\n\r\n```sh\r\nchmod +x *.sh\r\n```\r\n\r\n##### Build Process:\r\n\r\n * Run `./build.sh`.\r\n\r\nRunning the build on Mono produces an artifact similar to Windows but may have more rough edges. You may get a failure or two in the build script that can be safely ignored.\r\n\r\n### Testing\r\n\r\nThe Chocolatey CLI codebase contains a number of different tests, including unit, integration, and end-to-end tests.\r\nThese are all documented in the [TESTING.md](https://github.com/chocolatey/choco/blob/develop/TESTING.md) file.\r\n\r\nThe unit and integration tests are NUnit tests, which can be executed directly within Visual Studio, or as part of the [build process](https://github.com/chocolatey/choco/blob/develop/TESTING.md#running-tests).\r\n\r\nThe end-to-end tests use Pester as the test framework. Since these tests have the potential to actually make changes to your system, we recommend using the [provided Vagrant file to run these tests in a dedicated virtual machine](https://github.com/chocolatey/choco/blob/develop/TESTING.md#pester-tests).\r\n\r\n### Installing on Other Platforms:\r\n\r\n 1. Get a copy of the source code and build.\r\n 1. Copy (or link) the contents of `./code_drop/temp/_PublishedApps/choco` to your preferred install directory. On Linux, the preferred directory is `/opt/chocolatey`\r\n 1. Export the `ChocolateyInstall` environment variable, pointing to the install directory the build output was copied too.\r\n 1. Copy `./docker/choco_wrapper` to a directory on the `$PATH`, rename to `choco`, and if the install directory is something else than `/opt/chocolatey`, then edit it to point to the correct path.\r\n\r\n## Credits\r\n\r\nChocolatey is brought to you by quite a few people and frameworks. See [CREDITS](https://github.com/chocolatey/choco/blob/master/docs/legal/CREDITS.md) (just LEGAL/Credits.md in the zip folder).\r\n","funding_links":[],"categories":["C# #","C#","Repositories 📦","Sounds","包管理器","C\\#","其他","Install tools","开源项目","hacktoberfest","Infrastructure Tooling","Awesome Tools","windows","c-sharp","安装工具","Package/project managers/runtime environments","Table of Contents"],"sub_categories":["brew","网络服务_其他","Operating Systems","GUI - other","Package Manager"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchocolatey%2Fchoco","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchocolatey%2Fchoco","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchocolatey%2Fchoco/lists"}