# Uninstall hugo installed with winget?

**URL:** <https://discourse.gohugo.io/t/uninstall-hugo-installed-with-winget/52910>\
**Category:** support\
**Created:** [December 28, 2024, 10:33pm UTC](https://discourse.gohugo.io/t/uninstall-hugo-installed-with-winget/52910 "2024-12-28T22:33:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![xdanielc](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/xdanielc/32/17537_2.png) [@xdanielc](https://discourse.gohugo.io/u/xdanielc)\
**Post date:** [December 28, 2024, 10:33pm UTC](https://discourse.gohugo.io/t/uninstall-hugo-installed-with-winget/52910/1 "2024-12-28T22:33:12Z")

</div>

It’s been a while since I last used hugo and I installed with winget, then I realized I already had a choco install, so I want to remove that one and keep the choco version.

Winget doesn’t show up the extended hugo version which is the one showed on the website to install and doesn’t seem to uninstall it either, so I’m not sure if it’s installed a certain way on a certain folder or what happened.

---

<div class="post-metadata">

**Author:** ![eosys](https://avatars.discourse-cdn.com/v4/letter/e/5f9b8f/32.png) [@eosys](https://discourse.gohugo.io/u/eosys)\
**Post date:** [January 23, 2025, 3:19am UTC](https://discourse.gohugo.io/t/uninstall-hugo-installed-with-winget/52910/2 "2025-01-23T03:19:03Z")

</div>

Seems like I have the same issue. I installed Hugo using:

> winget install Hugo.Hugo.Extended

The package is still on my computer, and the winget find command displays it.

However, when I run:

> winget uninstall Hugo.Hugo.Extended  
> or any other variation (winget remove Hugo, etc.)

I get the error:

> No installed package found matching input criteria.

How can I uninstall Hugo?

---

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [January 23, 2025, 7:53am UTC](https://discourse.gohugo.io/t/uninstall-hugo-installed-with-winget/52910/3 "2025-01-23T07:53:18Z")

</div>

The inability of the winget CLI to uninstall Hugo by ID is a problem for the winget team:  
[https://github.com/microsoft/winget-pkgs/issues/216199](https://github.com/microsoft/winget-pkgs/issues/216199)

Uninstall by name instead.

To uninstall the standard edition:

```plaintext
winget uninstall --name "Hugo"

```

To uninstall the extended edition:

```plaintext
winget uninstall --name "Hugo (Extended)"

```

---

<div class="post-metadata">

**Author:** ![eosys](https://avatars.discourse-cdn.com/v4/letter/e/5f9b8f/32.png) [@eosys](https://discourse.gohugo.io/u/eosys)\
**Post date:** [January 24, 2025, 1:08am UTC](https://discourse.gohugo.io/t/uninstall-hugo-installed-with-winget/52910/4 "2025-01-24T01:08:11Z")

</div>

This worked. Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/system/32/1_2.png) [@system](https://discourse.gohugo.io/u/system)\
**Post date:** [January 26, 2025, 1:08am UTC](https://discourse.gohugo.io/t/uninstall-hugo-installed-with-winget/52910/5 "2025-01-26T01:08:55Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
