{"id":1671,"date":"2025-10-27T04:31:22","date_gmt":"2025-10-27T04:31:22","guid":{"rendered":"https:\/\/www.ultrexstaff.com\/?p=1671"},"modified":"2025-10-27T04:31:23","modified_gmt":"2025-10-27T04:31:23","slug":"install-winget-on-machines-that-dont-have-it","status":"publish","type":"post","link":"https:\/\/www.ultrexstaff.com\/?p=1671","title":{"rendered":"Install Winget on machines that don&#8217;t have it"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">\u2705 Step-by-Step Installation via PowerShell<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Open PowerShell as Administrator<\/strong>Ensure you&#8217;re running PowerShell with administrative privileges.<\/li>\n\n\n\n<li><strong>Set Execution Policy (if not already set)<\/strong>This allows the script to run:<br>powershell<br>CopyEdit<code>Set-ExecutionPolicy RemoteSigned -Scope Process -Force<\/code><\/li>\n<\/ol>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li><strong>Install the\u00a0<code>winget-install<\/code>\u00a0Script<\/strong><br>This script automates the installation of WinGet and its dependencies:<br>powershell<br>CopyEdit<code>Install-Script -Name winget-install -Force <\/code><br>If prompted to install the NuGet provider or trust the repository, respond with &#8216;Yes&#8217; or &#8216;Y&#8217;.<\/li>\n\n\n\n<li><strong>Run the Installation Script<\/strong><br>Execute the script to install WinGet:<br>powershell<br>CopyEdit<code>winget-install.ps1 <\/code><br>This will download and install all necessary components, including dependencies like\u00a0<code>Microsoft.UI.Xaml<\/code>\u00a0and\u00a0<code>Microsoft.VCLibs<\/code>.<\/li>\n\n\n\n<li><strong>Verify the Installation<\/strong><br>After completion, confirm that WinGet is installed:<br>powershell<br>CopyEdit<code>winget --version <\/code><br>You should see the installed version number displayed.<\/li>\n<\/ol>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u2705 Step-by-Step Installation via PowerShell<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[118,113,120],"tags":[],"class_list":["post-1671","post","type-post","status-publish","format-standard","hentry","category-installation-guides","category-servers","category-windows","post-preview"],"_links":{"self":[{"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=\/wp\/v2\/posts\/1671","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1671"}],"version-history":[{"count":1,"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=\/wp\/v2\/posts\/1671\/revisions"}],"predecessor-version":[{"id":1684,"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=\/wp\/v2\/posts\/1671\/revisions\/1684"}],"wp:attachment":[{"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1671"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1671"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1671"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}