{"id":19608912,"url":"https://github.com/fire1ce/wingetup","last_synced_at":"2026-02-16T17:04:05.489Z","repository":{"id":178323724,"uuid":"661233453","full_name":"fire1ce/wingetup","owner":"fire1ce","description":"Powershell script to automate the process of updateing Winget packages and exporting the installed winget packages json dump to github","archived":false,"fork":false,"pushed_at":"2025-04-11T17:10:57.000Z","size":66,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-11T18:29:12.171Z","etag":null,"topics":["powershell-script","winget"],"latest_commit_sha":null,"homepage":"https://3os.org","language":"PowerShell","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/fire1ce.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"patreon":"fire1ce","custom":["https://www.buymeacoffee.com/fire1ce"]}},"created_at":"2023-07-02T07:53:38.000Z","updated_at":"2025-04-11T17:11:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"6d140f12-a8b7-43d2-8e5a-a827c64de3fc","html_url":"https://github.com/fire1ce/wingetup","commit_stats":null,"previous_names":["fire1ce/wingetup"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/fire1ce/wingetup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fire1ce%2Fwingetup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fire1ce%2Fwingetup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fire1ce%2Fwingetup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fire1ce%2Fwingetup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fire1ce","download_url":"https://codeload.github.com/fire1ce/wingetup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fire1ce%2Fwingetup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275772993,"owners_count":25525932,"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-18T02:00:09.552Z","response_time":77,"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":["powershell-script","winget"],"created_at":"2024-11-11T10:18:32.579Z","updated_at":"2025-09-18T13:27:10.509Z","avatar_url":"https://github.com/fire1ce.png","language":"PowerShell","funding_links":["https://patreon.com/fire1ce","https://www.buymeacoffee.com/fire1ce"],"categories":[],"sub_categories":[],"readme":"# Winget Package Manager Automation Script\n\nThis script is designed to streamline and automate the process of updating Winget packages, exporting package configurations to a JSON file, and seamlessly integrating the changes with a Git repository. Tailored for Windows environments, this PowerShell script is an essential tool for system administrators and developers.\n\n## System Requirements\n\n- Windows 10 or Windows 11 operating system.\n- Windows Package Manager (Winget).\n- Git (The script is designed to install Git via Winget if it is not pre-installed).\n\n## Set-up Instructions\n\nRepository Initialization\nStart by creating a new repository from this template repository. Clone the newly created repository to your local machine, selecting an appropriate directory for cloning. Use the following command by replacing \u003cyour-repo-url\u003e with the URL of your repository:\n\nWe recommend using the SSH for communication with the remote repository.\n\nFollow the instructions in the following link to configure your Windows ssh agent and create a ssh key pair. [Windows SSH Client with ed25519 Keys for Secure Connections](https://3os.org/windows/windows-ssh-agent-with-keys/)\n\n**Don't use HTTP:// or SSH: for cloning the repository.**\n\nReplace the clone command with **git@github.com:**\u003cyour-repo-url\u003e\n\nExample:\n\n```shell\ngit clone git@github.com:/fire1ce/wingetup.git\n```\n\n## Git Installation\n\nIf Git is not installed on your machine, use Winget to install it. Open PowerShell as an administrator and execute the following command:\n\n```shell\nwinget install Git.Git\n```\n\n## Running the Script\n\nNavigate to the directory where your repository is cloned, and initiate the script WingetUpdater.ps1 via PowerShell:\n\n```shell\nCopy code\ncd \u003cpath-to-the-repo\u003e\n.\\wingetup.ps1\n```\n\nOn running the script, the following actions will be performed:\n\n- Verification and installation of Git if it is not installed.\n- Synchronization with the latest changes from your Git repository.\n- In case your PowerShell execution policy is restrictive, you will be prompted to change it to 'RemoteSigned'. Consent to this prompt to enable the script.\n- Establishment of a PowerShell alias wingetup which simplifies subsequent script executions. Simply enter wingetup in PowerShell.\n- Updating of all Winget packages.\n- Exporting the package configuration to a JSON file, named using the hostname of the machine.\n- Committing and pushing the changes to your Git repository.\n\n## Script Execution\n\nAfter the initial set-up, simply enter wingetup in PowerShell to execute the script:\n\n```shell\nwingetup\n```\n\n## Package Installation From JSON Configuration\n\nThis script exports package configurations to a JSON file. To install Winget packages from an exported JSON file, execute the following command in PowerShell:\n\n```shell\nwinget import -i \u003cpath-to-json-file\u003e\n```\n\n## Considerations\n\nThe script establishes an alias wingetup, streamlining future executions.\nEnsure that you possess the requisite permissions for script execution and policy modification in PowerShell.\nLicensing\nThis project operates under the MIT License. For further details, please refer to the LICENSE file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffire1ce%2Fwingetup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffire1ce%2Fwingetup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffire1ce%2Fwingetup/lists"}