# Simply check hugo-extended version from the command line

**URL:** <https://discourse.gohugo.io/t/simply-check-hugo-extended-version-from-the-command-line/43228>\
**Category:** support\
**Created:** [March 2, 2023, 12:03am UTC](https://discourse.gohugo.io/t/simply-check-hugo-extended-version-from-the-command-line/43228 "2023-03-02T00:03:55Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![RemPsyc](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rempsyc/32/13180_2.png) [@RemPsyc](https://discourse.gohugo.io/u/RemPsyc)\
**Post date:** [March 2, 2023, 12:03am UTC](https://discourse.gohugo.io/t/simply-check-hugo-extended-version-from-the-command-line/43228/1 "2023-03-02T00:03:55Z")

</div>

I am creating my site with Wowchemy, which [recommends](https://github.com/wowchemy/wowchemy-hugo-themes/releases) using Hugo Extended version 0.101.0. However, even when installing hugo with

```auto
scoop install git go hugo-extended nodejs

```

I always get version 0.88.1:

```auto
PS D:\GitHub\starter-hugo-academic> hugo version
hugo v0.88.1-5BC54738+extended windows/amd64 BuildDate=2021-09-04T09:39:19Z VendorInfo=gohugoio

```

I imagine that hugo has not the same version as hugo-extended, so I tried:

```auto
PS D:\GitHub\starter-hugo-academic> hugo-extended version
hugo-extended : The term 'hugo-extended' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ hugo-extended version
+ ~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (hugo-extended:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

```

How can I simply check the version of hugo-extended from the command line? Despite the simplicity of the question, I could not find similar threads on Google or this forum. Thanks.

---

<div class="post-metadata">

**Author:** ![andrewd72](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/andrewd72/32/18371_2.png) [@andrewd72](https://discourse.gohugo.io/u/andrewd72)\
**Post date:** [March 2, 2023, 12:29am UTC](https://discourse.gohugo.io/t/simply-check-hugo-extended-version-from-the-command-line/43228/2 "2023-03-02T00:29:32Z")

</div>

Same binary name so just:  
`hugo version`  
should work for either.

---

<div class="post-metadata">

**Author:** ![RemPsyc](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rempsyc/32/13180_2.png) [@RemPsyc](https://discourse.gohugo.io/u/RemPsyc)\
**Post date:** [March 2, 2023, 12:33am UTC](https://discourse.gohugo.io/t/simply-check-hugo-extended-version-from-the-command-line/43228/3 "2023-03-02T00:33:57Z")

</div>

Ok, but then why do I always get version 0.88.1: even though I install the latest version 0.110.0 or 0.101.0?

---

<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:** [March 2, 2023, 12:45am UTC](https://discourse.gohugo.io/t/simply-check-hugo-extended-version-from-the-command-line/43228/4 "2023-03-02T00:45:35Z")

</div>

Open Windows PowerShell and type:

```plaintext
Where.exe hugo

```

Paste the results.

---

<div class="post-metadata">

**Author:** ![RemPsyc](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rempsyc/32/13180_2.png) [@RemPsyc](https://discourse.gohugo.io/u/RemPsyc)\
**Post date:** [March 2, 2023, 12:54am UTC](https://discourse.gohugo.io/t/simply-check-hugo-extended-version-from-the-command-line/43228/5 "2023-03-02T00:54:00Z")

</div>

Thanks! That was really useful! I was installing with scoop. But I had not realized there was an old conflicting version installed with chocolatey 🙈 I uninstalled the chocolatey version and then hugo version picked up the right one. Thanks!

Edit: I was also specifically looking for a command like Where.exe! Really nice and useful, thanks.

---

<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:** [March 2, 2023, 12:55am UTC](https://discourse.gohugo.io/t/simply-check-hugo-extended-version-from-the-command-line/43228/6 "2023-03-02T00:55:09Z")

</div>

You can also use

```auto
gcm -all hugo --> shows all instances
gcm hugo --> shows which will be used

```

---

<div class="post-metadata">

**Author:** ![RemPsyc](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rempsyc/32/13180_2.png) [@RemPsyc](https://discourse.gohugo.io/u/RemPsyc)\
**Post date:** [March 2, 2023, 12:59am UTC](https://discourse.gohugo.io/t/simply-check-hugo-extended-version-from-the-command-line/43228/7 "2023-03-02T00:59:40Z")

</div>

> gcm -all hugo → shows all instances  
> gcm hugo → shows which will be used

Very cool and useful, thanks!

---

<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:** [March 4, 2023, 1:00am UTC](https://discourse.gohugo.io/t/simply-check-hugo-extended-version-from-the-command-line/43228/8 "2023-03-04T01:00:23Z")

</div>

Closed on March 4, 2023, 1:00am UTC

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