# HUGO old version install on MacOS M3 (Apple Silicon)

**URL:** <https://discourse.gohugo.io/t/hugo-old-version-install-on-macos-m3-apple-silicon/48252>\
**Category:** support\
**Created:** [February 12, 2024, 11:45pm UTC](https://discourse.gohugo.io/t/hugo-old-version-install-on-macos-m3-apple-silicon/48252 "2024-02-12T23:45:13Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![sdai](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/sdai/32/21314_2.png) [@sdai](https://discourse.gohugo.io/u/sdai)\
**Post date:** [February 12, 2024, 11:45pm UTC](https://discourse.gohugo.io/t/hugo-old-version-install-on-macos-m3-apple-silicon/48252/1 "2024-02-12T23:45:13Z")

</div>

Recently Im running into this big issue about install old version HUGO to my new laptop (MacBook Pro M3)  
First of all I found I cannot use following brew command to install directly as before and got some errors:

```auto
brew install hugo@v0.65.3

Warning: No available formula with the name "hugo@v0.65.3".

==> Searching for similarly named formulae and casks...

Error: No formulae or casks found for hugo@v0.65.3.

```

Secondly, when I try to install it from source code by downloaded source code to local as hugo\_0653.rb and installed it via “brew install hugo\_0653.rb”, then again got these err:

```auto

The 4.2.0 release notes are available on the Homebrew Blog:
  https://brew.sh/blog/4.2.0
The 4.2.8 changelog can be found at:
  https://github.com/Homebrew/brew/releases/tag/4.2.8
Error: hugo-0653: undefined method `cellar' for #<BottleSpecification:0x000000010725caa8 @rebuild=0, @repository="/opt/homebrew", @collector=#<Utils::Bottles::Collector:0x000000010725c850 @tag_specs={}>, @root_url_specs={}>

```

I googled relevant issue but no clear solution and less results. Does anyone meet above before and any idea how install old version directly from source code ?

Any input would be greatly appreciated!!!

Sd

---

<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:** [February 13, 2024, 12:12am UTC](https://discourse.gohugo.io/t/hugo-old-version-install-on-macos-m3-apple-silicon/48252/2 "2024-02-13T00:12:57Z")

</div>

Brew does not retain formulas that are that old. Download the relevant binary from the Hugo repository releases page.

---

<div class="post-metadata">

**Author:** ![sdai](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/sdai/32/21314_2.png) [@sdai](https://discourse.gohugo.io/u/sdai)\
**Post date:** [February 13, 2024, 4:59pm UTC](https://discourse.gohugo.io/t/hugo-old-version-install-on-macos-m3-apple-silicon/48252/3 "2024-02-13T16:59:55Z")

</div>

@jmooring Thanks Joe. The last solution I’ve tried is downloaded from [hugo 0.65.3 · Homebrew/homebrew-core@4256670 · GitHub](https://github.com/Homebrew/homebrew-core/commit/4256670ca31ee8cb5566589ab302f79f533619d7) w/ version as .rb, and used

```auto
brew install https://github.com/Homebrew/homebrew-core/commit/4256670ca31ee8cb5566589ab302f79f533619d7

```

also tried with hugo\_0653.rb which is downloaded to local.

```auto
brew install hugo_0653.rb

```

Did I miss something? How could I execute HUGO with binary files?

---

<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:** [February 13, 2024, 5:02pm UTC](https://discourse.gohugo.io/t/hugo-old-version-install-on-macos-m3-apple-silicon/48252/4 "2024-02-13T17:02:43Z")

</div>

[https://github.com/gohugoio/hugo/releases/tag/v0.65.3](https://github.com/gohugoio/hugo/releases/tag/v0.65.3)

![image](https://canada1.discourse-cdn.com/flex036/uploads/gohugo/original/3X/c/1/c159f18073b61e713e1c3d1d69cdf4e3167f9f21.png)

I have no idea if that will run on your current system.

---

<div class="post-metadata">

**Author:** ![sdai](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/sdai/32/21314_2.png) [@sdai](https://discourse.gohugo.io/u/sdai)\
**Post date:** [February 13, 2024, 5:23pm UTC](https://discourse.gohugo.io/t/hugo-old-version-install-on-macos-m3-apple-silicon/48252/5 "2024-02-13T17:23:10Z")

</div>

@jmooring I downloaded [hugo\_0.65.3\_macOS-64bit.tar.gz](https://github.com/gohugoio/hugo/releases/download/v0.65.3/hugo_0.65.3_macOS-64bit.tar.gz)  
There is one unix executable calls “Dockerfile”. Is there any document that guide me to install and via binary on MacOS?

---

<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:** [February 13, 2024, 5:24pm UTC](https://discourse.gohugo.io/t/hugo-old-version-install-on-macos-m3-apple-silicon/48252/6 "2024-02-13T17:24:57Z")

</div>

I’m not sure what you’re doing, but you’re doing it wrong. If you download and extract, the structure is:

```plaintext
hugo_extended_0.65.3_macOS-64bit/
├── LICENSE
├── README.md
└── hugo*

```

---

<div class="post-metadata">

**Author:** ![sdai](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/sdai/32/21314_2.png) [@sdai](https://discourse.gohugo.io/u/sdai)\
**Post date:** [February 13, 2024, 5:34pm UTC](https://discourse.gohugo.io/t/hugo-old-version-install-on-macos-m3-apple-silicon/48252/7 "2024-02-13T17:34:50Z")

</div>

@jmooring It’s my fault, I have tried couple methods and messed with other folder.  
What I going to do is install old version (0.65.3) on new MacBook Pro M, but failed as homebrew don’t have that old formula, so going to try installing with binary as you suggested. When I ran unix executable, I got the following error:

 ![Screenshot 2024-02-13 at 11.28.24](https://canada1.discourse-cdn.com/flex036/uploads/gohugo/original/3X/f/0/f0019fd580d1be9b8d811f6183436b8587db04f9.png)

And checked with our IT, we can not change System Preferences → Security & Privacy to allow it download.

Is there another way make that installation? Thanks @jmooring

---

<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:** [February 13, 2024, 5:40pm UTC](https://discourse.gohugo.io/t/hugo-old-version-install-on-macos-m3-apple-silicon/48252/8 "2024-02-13T17:40:59Z")

</div>

> [@sdai](#):
>
> Is there another way make that installation

Sure, you can build from source. But if you’re having trouble installing a simple executable, I think you’ll have even more problems building from source.

Since you have an IT resource, I suggest you work with them directly.

---

<div class="post-metadata">

**Author:** ![sdai](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/sdai/32/21314_2.png) [@sdai](https://discourse.gohugo.io/u/sdai)\
**Post date:** [February 13, 2024, 5:47pm UTC](https://discourse.gohugo.io/t/hugo-old-version-install-on-macos-m3-apple-silicon/48252/9 "2024-02-13T17:47:22Z")

</div>

Thanks a lot for your quick response. @jmooring

---

<div class="post-metadata">

**Author:** ![AriesGx](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/ariesgx/32/24101_2.png) [@AriesGx](https://discourse.gohugo.io/u/AriesGx)\
**Post date:** [March 13, 2025, 2:22am UTC](https://discourse.gohugo.io/t/hugo-old-version-install-on-macos-m3-apple-silicon/48252/10 "2025-03-13T02:22:32Z")

</div>

oh,i’m so sad that i have the same problem which i can’t install the latest hugo on my device(MacBookAir M1) , omg…
