HugoをMacにインストール

目次

Hugoの導入はこちらに従う → Install Hugo

Homebrewで導入するが、まずはHomebrewが導入済みか確認する。which brewをたたいて確認する。何も表示されなければ入っていない。

1$ which brew
2$

Homebrewが入っていないことが確認されたので、こちらのサイトに従って導入する。→ Homebrew macOS(またはLinux)用パッケージマネージャー
このサイトに示されている以下コマンドを実行する。

1$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

実行ログは以下。途中2回ほどパスワードを求められた。終わるまでざっくり20分くらいかかったかな。

  1$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  2==> Checking for `sudo` access (which may request your password)...
  3Password:
  4==> This script will install:
  5/opt/homebrew/bin/brew
  6/opt/homebrew/share/doc/homebrew
  7/opt/homebrew/share/man/man1/brew.1
  8/opt/homebrew/share/zsh/site-functions/_brew
  9/opt/homebrew/etc/bash_completion.d/brew
 10/opt/homebrew
 11==> The following new directories will be created:
 12/opt/homebrew/bin
 13/opt/homebrew/etc
 14/opt/homebrew/include
 15/opt/homebrew/lib
 16/opt/homebrew/sbin
 17/opt/homebrew/share
 18/opt/homebrew/var
 19/opt/homebrew/opt
 20/opt/homebrew/share/zsh
 21/opt/homebrew/share/zsh/site-functions
 22/opt/homebrew/var/homebrew
 23/opt/homebrew/var/homebrew/linked
 24/opt/homebrew/Cellar
 25/opt/homebrew/Caskroom
 26/opt/homebrew/Frameworks
 27==> The Xcode Command Line Tools will be installed.
 28
 29Press RETURN to continue or any other key to abort:
 30==> /usr/bin/sudo /bin/mkdir -p /opt/homebrew
 31==> /usr/bin/sudo /usr/sbin/chown root:wheel /opt/homebrew
 32==> /usr/bin/sudo /bin/mkdir -p /opt/homebrew/bin /opt/homebrew/etc /opt/homebrew/include /opt/homebrew/lib /opt/homebrew/sbin /opt/homebrew/share /opt/homebrew/var /opt/homebrew/opt /opt/homebrew/share/zsh /opt/homebrew/share/zsh/site-functions /opt/homebrew/var/homebrew /opt/homebrew/var/homebrew/linked /opt/homebrew/Cellar /opt/homebrew/Caskroom /opt/homebrew/Frameworks
 33==> /usr/bin/sudo /bin/chmod ug=rwx /opt/homebrew/bin /opt/homebrew/etc /opt/homebrew/include /opt/homebrew/lib /opt/homebrew/sbin /opt/homebrew/share /opt/homebrew/var /opt/homebrew/opt /opt/homebrew/share/zsh /opt/homebrew/share/zsh/site-functions /opt/homebrew/var/homebrew /opt/homebrew/var/homebrew/linked /opt/homebrew/Cellar /opt/homebrew/Caskroom /opt/homebrew/Frameworks
 34==> /usr/bin/sudo /bin/chmod go-w /opt/homebrew/share/zsh /opt/homebrew/share/zsh/site-functions
 35==> /usr/bin/sudo /usr/sbin/chown user /opt/homebrew/bin /opt/homebrew/etc /opt/homebrew/include /opt/homebrew/lib /opt/homebrew/sbin /opt/homebrew/share /opt/homebrew/var /opt/homebrew/opt /opt/homebrew/share/zsh /opt/homebrew/share/zsh/site-functions /opt/homebrew/var/homebrew /opt/homebrew/var/homebrew/linked /opt/homebrew/Cellar /opt/homebrew/Caskroom /opt/homebrew/Frameworks
 36==> /usr/bin/sudo /usr/bin/chgrp admin /opt/homebrew/bin /opt/homebrew/etc /opt/homebrew/include /opt/homebrew/lib /opt/homebrew/sbin /opt/homebrew/share /opt/homebrew/var /opt/homebrew/opt /opt/homebrew/share/zsh /opt/homebrew/share/zsh/site-functions /opt/homebrew/var/homebrew /opt/homebrew/var/homebrew/linked /opt/homebrew/Cellar /opt/homebrew/Caskroom /opt/homebrew/Frameworks
 37==> /usr/bin/sudo /usr/sbin/chown -R user:admin /opt/homebrew
 38==> /usr/bin/sudo /bin/mkdir -p /Users/user/Library/Caches/Homebrew
 39==> /usr/bin/sudo /bin/chmod g+rwx /Users/user/Library/Caches/Homebrew
 40==> /usr/bin/sudo /usr/sbin/chown -R user /Users/user/Library/Caches/Homebrew
 41==> Searching online for the Command Line Tools
 42==> /usr/bin/sudo /usr/bin/touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress
 43==> Installing Command Line Tools for Xcode-13.3
 44==> /usr/bin/sudo /usr/sbin/softwareupdate -i Command\ Line\ Tools\ for\ Xcode-13.3
 45Software Update Tool
 46
 47Finding available software
 48
 49Downloading Command Line Tools for Xcode
 50Downloaded Command Line Tools for Xcode
 51Installing Command Line Tools for Xcode
 52Done with Command Line Tools for Xcode
 53Done.
 54==> /usr/bin/sudo /usr/bin/xcode-select --switch /Library/Developer/CommandLineTools
 55Password:
 56==> /usr/bin/sudo /bin/rm -f /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress
 57==> Downloading and installing Homebrew...
 58remote: Enumerating objects: 204745, done.
 59remote: Counting objects: 100% (45/45), done.
 60remote: Compressing objects: 100% (45/45), done.
 61remote: Total 204745 (delta 0), reused 45 (delta 0), pack-reused 204700
 62Receiving objects: 100% (204745/204745), 56.58 MiB | 954.00 KiB/s, done.
 63Resolving deltas: 100% (150764/150764), done.
 64From https://github.com/Homebrew/brew
 65 * [new branch]          master     -> origin/master
 66 * [new tag]             0.1        -> 0.1
 67 * [new tag]             0.2        -> 0.2
 68 * [new tag]             0.3        -> 0.3
 69 * [new tag]             0.4        -> 0.4
 70 * [new tag]             0.5        -> 0.5
 71 * [new tag]             0.6        -> 0.6
 72 * [new tag]             0.7        -> 0.7
 73 * [new tag]             0.7.1      -> 0.7.1
 74 * [new tag]             0.8        -> 0.8
 75 * [new tag]             0.8.1      -> 0.8.1
 76 * [new tag]             0.9        -> 0.9
 77 * [new tag]             0.9.1      -> 0.9.1
 78 * [new tag]             0.9.2      -> 0.9.2
 79 * [new tag]             0.9.3      -> 0.9.3
 80 * [new tag]             0.9.4      -> 0.9.4
 81 * [new tag]             0.9.5      -> 0.9.5
 82 * [new tag]             0.9.8      -> 0.9.8
 83 * [new tag]             0.9.9      -> 0.9.9
 84 * [new tag]             1.0.0      -> 1.0.0
 85 * [new tag]             1.0.1      -> 1.0.1
 86 * [new tag]             1.0.2      -> 1.0.2
 87 * [new tag]             1.0.3      -> 1.0.3
 88 * [new tag]             1.0.4      -> 1.0.4
 89 * [new tag]             1.0.5      -> 1.0.5
 90 * [new tag]             1.0.6      -> 1.0.6
 91 * [new tag]             1.0.7      -> 1.0.7
 92 * [new tag]             1.0.8      -> 1.0.8
 93 * [new tag]             1.0.9      -> 1.0.9
 94 * [new tag]             1.1.0      -> 1.1.0
 95 * [new tag]             1.1.1      -> 1.1.1
 96 * [new tag]             1.1.10     -> 1.1.10
 97 * [new tag]             1.1.11     -> 1.1.11
 98 * [new tag]             1.1.12     -> 1.1.12
 99 * [new tag]             1.1.13     -> 1.1.13
100 * [new tag]             1.1.2      -> 1.1.2
101 * [new tag]             1.1.3      -> 1.1.3
102 * [new tag]             1.1.4      -> 1.1.4
103 * [new tag]             1.1.5      -> 1.1.5
104 * [new tag]             1.1.6      -> 1.1.6
105 * [new tag]             1.1.7      -> 1.1.7
106 * [new tag]             1.1.8      -> 1.1.8
107 * [new tag]             1.1.9      -> 1.1.9
108 * [new tag]             1.2.0      -> 1.2.0
109 * [new tag]             1.2.1      -> 1.2.1
110 * [new tag]             1.2.2      -> 1.2.2
111 * [new tag]             1.2.3      -> 1.2.3
112 * [new tag]             1.2.4      -> 1.2.4
113 * [new tag]             1.2.5      -> 1.2.5
114 * [new tag]             1.2.6      -> 1.2.6
115 * [new tag]             1.3.0      -> 1.3.0
116 * [new tag]             1.3.1      -> 1.3.1
117 * [new tag]             1.3.2      -> 1.3.2
118 * [new tag]             1.3.3      -> 1.3.3
119 * [new tag]             1.3.4      -> 1.3.4
120 * [new tag]             1.3.5      -> 1.3.5
121 * [new tag]             1.3.6      -> 1.3.6
122 * [new tag]             1.3.7      -> 1.3.7
123 * [new tag]             1.3.8      -> 1.3.8
124 * [new tag]             1.3.9      -> 1.3.9
125 * [new tag]             1.4.0      -> 1.4.0
126 * [new tag]             1.4.1      -> 1.4.1
127 * [new tag]             1.4.2      -> 1.4.2
128 * [new tag]             1.4.3      -> 1.4.3
129 * [new tag]             1.5.0      -> 1.5.0
130 * [new tag]             1.5.1      -> 1.5.1
131 * [new tag]             1.5.10     -> 1.5.10
132 * [new tag]             1.5.11     -> 1.5.11
133 * [new tag]             1.5.12     -> 1.5.12
134 * [new tag]             1.5.13     -> 1.5.13
135 * [new tag]             1.5.14     -> 1.5.14
136 * [new tag]             1.5.2      -> 1.5.2
137 * [new tag]             1.5.3      -> 1.5.3
138 * [new tag]             1.5.4      -> 1.5.4
139 * [new tag]             1.5.5      -> 1.5.5
140 * [new tag]             1.5.6      -> 1.5.6
141 * [new tag]             1.5.7      -> 1.5.7
142 * [new tag]             1.5.8      -> 1.5.8
143 * [new tag]             1.5.9      -> 1.5.9
144 * [new tag]             1.6.0      -> 1.6.0
145 * [new tag]             1.6.1      -> 1.6.1
146 * [new tag]             1.6.10     -> 1.6.10
147 * [new tag]             1.6.11     -> 1.6.11
148 * [new tag]             1.6.12     -> 1.6.12
149 * [new tag]             1.6.13     -> 1.6.13
150 * [new tag]             1.6.14     -> 1.6.14
151 * [new tag]             1.6.15     -> 1.6.15
152 * [new tag]             1.6.16     -> 1.6.16
153 * [new tag]             1.6.17     -> 1.6.17
154 * [new tag]             1.6.2      -> 1.6.2
155 * [new tag]             1.6.3      -> 1.6.3
156 * [new tag]             1.6.4      -> 1.6.4
157 * [new tag]             1.6.5      -> 1.6.5
158 * [new tag]             1.6.6      -> 1.6.6
159 * [new tag]             1.6.7      -> 1.6.7
160 * [new tag]             1.6.8      -> 1.6.8
161 * [new tag]             1.6.9      -> 1.6.9
162 * [new tag]             1.7.0      -> 1.7.0
163 * [new tag]             1.7.1      -> 1.7.1
164 * [new tag]             1.7.2      -> 1.7.2
165 * [new tag]             1.7.3      -> 1.7.3
166 * [new tag]             1.7.4      -> 1.7.4
167 * [new tag]             1.7.5      -> 1.7.5
168 * [new tag]             1.7.6      -> 1.7.6
169 * [new tag]             1.7.7      -> 1.7.7
170 * [new tag]             1.8.0      -> 1.8.0
171 * [new tag]             1.8.1      -> 1.8.1
172 * [new tag]             1.8.2      -> 1.8.2
173 * [new tag]             1.8.3      -> 1.8.3
174 * [new tag]             1.8.4      -> 1.8.4
175 * [new tag]             1.8.5      -> 1.8.5
176 * [new tag]             1.8.6      -> 1.8.6
177 * [new tag]             1.9.0      -> 1.9.0
178 * [new tag]             1.9.1      -> 1.9.1
179 * [new tag]             1.9.2      -> 1.9.2
180 * [new tag]             1.9.3      -> 1.9.3
181 * [new tag]             2.0.0      -> 2.0.0
182 * [new tag]             2.0.1      -> 2.0.1
183 * [new tag]             2.0.2      -> 2.0.2
184 * [new tag]             2.0.3      -> 2.0.3
185 * [new tag]             2.0.4      -> 2.0.4
186 * [new tag]             2.0.5      -> 2.0.5
187 * [new tag]             2.0.6      -> 2.0.6
188 * [new tag]             2.1.0      -> 2.1.0
189 * [new tag]             2.1.1      -> 2.1.1
190 * [new tag]             2.1.10     -> 2.1.10
191 * [new tag]             2.1.11     -> 2.1.11
192 * [new tag]             2.1.12     -> 2.1.12
193 * [new tag]             2.1.13     -> 2.1.13
194 * [new tag]             2.1.14     -> 2.1.14
195 * [new tag]             2.1.15     -> 2.1.15
196 * [new tag]             2.1.16     -> 2.1.16
197 * [new tag]             2.1.2      -> 2.1.2
198 * [new tag]             2.1.3      -> 2.1.3
199 * [new tag]             2.1.4      -> 2.1.4
200 * [new tag]             2.1.5      -> 2.1.5
201 * [new tag]             2.1.6      -> 2.1.6
202 * [new tag]             2.1.7      -> 2.1.7
203 * [new tag]             2.1.8      -> 2.1.8
204 * [new tag]             2.1.9      -> 2.1.9
205 * [new tag]             2.2.0      -> 2.2.0
206 * [new tag]             2.2.1      -> 2.2.1
207 * [new tag]             2.2.10     -> 2.2.10
208 * [new tag]             2.2.11     -> 2.2.11
209 * [new tag]             2.2.12     -> 2.2.12
210 * [new tag]             2.2.13     -> 2.2.13
211 * [new tag]             2.2.14     -> 2.2.14
212 * [new tag]             2.2.15     -> 2.2.15
213 * [new tag]             2.2.16     -> 2.2.16
214 * [new tag]             2.2.17     -> 2.2.17
215 * [new tag]             2.2.2      -> 2.2.2
216 * [new tag]             2.2.3      -> 2.2.3
217 * [new tag]             2.2.4      -> 2.2.4
218 * [new tag]             2.2.5      -> 2.2.5
219 * [new tag]             2.2.6      -> 2.2.6
220 * [new tag]             2.2.7      -> 2.2.7
221 * [new tag]             2.2.8      -> 2.2.8
222 * [new tag]             2.2.9      -> 2.2.9
223 * [new tag]             2.3.0      -> 2.3.0
224 * [new tag]             2.4.0      -> 2.4.0
225 * [new tag]             2.4.1      -> 2.4.1
226 * [new tag]             2.4.10     -> 2.4.10
227 * [new tag]             2.4.11     -> 2.4.11
228 * [new tag]             2.4.12     -> 2.4.12
229 * [new tag]             2.4.13     -> 2.4.13
230 * [new tag]             2.4.14     -> 2.4.14
231 * [new tag]             2.4.15     -> 2.4.15
232 * [new tag]             2.4.16     -> 2.4.16
233 * [new tag]             2.4.2      -> 2.4.2
234 * [new tag]             2.4.3      -> 2.4.3
235 * [new tag]             2.4.4      -> 2.4.4
236 * [new tag]             2.4.5      -> 2.4.5
237 * [new tag]             2.4.6      -> 2.4.6
238 * [new tag]             2.4.7      -> 2.4.7
239 * [new tag]             2.4.8      -> 2.4.8
240 * [new tag]             2.4.9      -> 2.4.9
241 * [new tag]             2.5.0      -> 2.5.0
242 * [new tag]             2.5.1      -> 2.5.1
243 * [new tag]             2.5.10     -> 2.5.10
244 * [new tag]             2.5.11     -> 2.5.11
245 * [new tag]             2.5.12     -> 2.5.12
246 * [new tag]             2.5.2      -> 2.5.2
247 * [new tag]             2.5.3      -> 2.5.3
248 * [new tag]             2.5.4      -> 2.5.4
249 * [new tag]             2.5.5      -> 2.5.5
250 * [new tag]             2.5.6      -> 2.5.6
251 * [new tag]             2.5.7      -> 2.5.7
252 * [new tag]             2.5.8      -> 2.5.8
253 * [new tag]             2.5.9      -> 2.5.9
254 * [new tag]             2.6.0      -> 2.6.0
255 * [new tag]             2.6.1      -> 2.6.1
256 * [new tag]             2.6.2      -> 2.6.2
257 * [new tag]             2.7.0      -> 2.7.0
258 * [new tag]             2.7.1      -> 2.7.1
259 * [new tag]             2.7.2      -> 2.7.2
260 * [new tag]             2.7.3      -> 2.7.3
261 * [new tag]             2.7.4      -> 2.7.4
262 * [new tag]             2.7.5      -> 2.7.5
263 * [new tag]             2.7.6      -> 2.7.6
264 * [new tag]             2.7.7      -> 2.7.7
265 * [new tag]             3.0.0      -> 3.0.0
266 * [new tag]             3.0.1      -> 3.0.1
267 * [new tag]             3.0.10     -> 3.0.10
268 * [new tag]             3.0.11     -> 3.0.11
269 * [new tag]             3.0.2      -> 3.0.2
270 * [new tag]             3.0.3      -> 3.0.3
271 * [new tag]             3.0.4      -> 3.0.4
272 * [new tag]             3.0.5      -> 3.0.5
273 * [new tag]             3.0.6      -> 3.0.6
274 * [new tag]             3.0.7      -> 3.0.7
275 * [new tag]             3.0.8      -> 3.0.8
276 * [new tag]             3.0.9      -> 3.0.9
277 * [new tag]             3.1.0      -> 3.1.0
278 * [new tag]             3.1.1      -> 3.1.1
279 * [new tag]             3.1.10     -> 3.1.10
280 * [new tag]             3.1.11     -> 3.1.11
281 * [new tag]             3.1.12     -> 3.1.12
282 * [new tag]             3.1.2      -> 3.1.2
283 * [new tag]             3.1.3      -> 3.1.3
284 * [new tag]             3.1.4      -> 3.1.4
285 * [new tag]             3.1.5      -> 3.1.5
286 * [new tag]             3.1.6      -> 3.1.6
287 * [new tag]             3.1.7      -> 3.1.7
288 * [new tag]             3.1.8      -> 3.1.8
289 * [new tag]             3.1.9      -> 3.1.9
290 * [new tag]             3.2.0      -> 3.2.0
291 * [new tag]             3.2.1      -> 3.2.1
292 * [new tag]             3.2.10     -> 3.2.10
293 * [new tag]             3.2.11     -> 3.2.11
294 * [new tag]             3.2.12     -> 3.2.12
295 * [new tag]             3.2.13     -> 3.2.13
296 * [new tag]             3.2.14     -> 3.2.14
297 * [new tag]             3.2.15     -> 3.2.15
298 * [new tag]             3.2.16     -> 3.2.16
299 * [new tag]             3.2.17     -> 3.2.17
300 * [new tag]             3.2.2      -> 3.2.2
301 * [new tag]             3.2.3      -> 3.2.3
302 * [new tag]             3.2.4      -> 3.2.4
303 * [new tag]             3.2.5      -> 3.2.5
304 * [new tag]             3.2.6      -> 3.2.6
305 * [new tag]             3.2.7      -> 3.2.7
306 * [new tag]             3.2.8      -> 3.2.8
307 * [new tag]             3.2.9      -> 3.2.9
308 * [new tag]             3.3.0      -> 3.3.0
309 * [new tag]             3.3.1      -> 3.3.1
310 * [new tag]             3.3.10     -> 3.3.10
311 * [new tag]             3.3.11     -> 3.3.11
312 * [new tag]             3.3.12     -> 3.3.12
313 * [new tag]             3.3.13     -> 3.3.13
314 * [new tag]             3.3.14     -> 3.3.14
315 * [new tag]             3.3.15     -> 3.3.15
316 * [new tag]             3.3.16     -> 3.3.16
317 * [new tag]             3.3.2      -> 3.3.2
318 * [new tag]             3.3.3      -> 3.3.3
319 * [new tag]             3.3.4      -> 3.3.4
320 * [new tag]             3.3.5      -> 3.3.5
321 * [new tag]             3.3.6      -> 3.3.6
322 * [new tag]             3.3.7      -> 3.3.7
323 * [new tag]             3.3.8      -> 3.3.8
324 * [new tag]             3.3.9      -> 3.3.9
325 * [new tag]             3.4.0      -> 3.4.0
326 * [new tag]             3.4.1      -> 3.4.1
327 * [new tag]             3.4.2      -> 3.4.2
328HEAD is now at 600d84e56 Merge pull request #13010 from hyuraku/cmd/deps_repair_dot_code
329==> Tapping homebrew/core
330remote: Enumerating objects: 1160072, done.
331remote: Counting objects: 100% (151/151), done.
332remote: Compressing objects: 100% (77/77), done.
333remote: Total 1160072 (delta 86), reused 137 (delta 74), pack-reused 1159921
334Receiving objects: 100% (1160072/1160072), 456.27 MiB | 1.25 MiB/s, done.
335Resolving deltas: 100% (802537/802537), done.
336From https://github.com/Homebrew/homebrew-core
337 * [new branch]              master     -> origin/master
338HEAD is now at e8b0d0aed94 ko: update 0.11.1 bottle.
339Warning: /opt/homebrew/bin is not in your PATH.
340  Instructions on how to configure your shell for Homebrew
341  can be found in the 'Next steps' section below.
342==> Installation successful!
343
344==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
345Read the analytics documentation (and how to opt-out) here:
346  https://docs.brew.sh/Analytics
347No analytics data has been sent yet (nor will any be during this install run).
348
349==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
350  https://github.com/Homebrew/brew#donations
351
352==> Next steps:
353- Run these two commands in your terminal to add Homebrew to your PATH:
354    echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/user/.bash_profile
355    eval "$(/opt/homebrew/bin/brew shellenv)"
356- Run brew help to get started
357- Further documentation:
358    https://docs.brew.sh

339行目付近にワーニングが出ていて気持ち悪い。翻訳結果を載せておく。

Warning: /opt/homebrew/bin is not in your PATH.
  Instructions on how to configure your shell for Homebrew
  can be found in the 'Next steps' section below.

警告: /opt/homebrew/bin はパスにありません。シェルを Homebrew 用に設定する方法については、以下の 'Next steps' セクションを参照してください。

Next steps(352行目)に記載の "Run these two commands in your terminal to add Homebrew to your PATH" の翻訳結果は「ターミナルで次の2つのコマンドを実行して、PATH に Homebrew を追加してください。」なので、354〜355行目に示されているコマンドをそのまま実行する。
これにてHomebrewの導入は完了。

つづいてHugoの導入。brew install hugo をたたく。こちらは然程時間かからなかった。

 1$ brew install hugo
 2==> Downloading https://ghcr.io/v2/homebrew/core/hugo/manifests/0.94.2
 3######################################################################## 100.0%
 4==> Downloading https://ghcr.io/v2/homebrew/core/hugo/blobs/sha256:650985eb8967555b5d65164d0e7457c29bc4b795af7ba7bebe1d8
 5==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:650985eb8967555b5d65164d0e7457c29bc
 6######################################################################## 100.0%
 7==> Pouring hugo--0.94.2.arm64_monterey.bottle.tar.gz
 8==> Caveats
 9Bash completion has been installed to:
10  /opt/homebrew/etc/bash_completion.d
11==> Summary
12🍺  /opt/homebrew/Cellar/hugo/0.94.2: 48 files, 55.4MB
13==> Running `brew cleanup hugo`...
14Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
15Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

以下でHugoが導入されていることとバージョンを確認。

1$ which hugo
2/opt/homebrew/bin/hugo
3$ ls -l $( which hugo )
4lrwxr-xr-x  1 user  admin  30  3 20 17:03 /opt/homebrew/bin/hugo@ -> ../Cellar/hugo/0.94.2/bin/hugo
5$ hugo version
6hugo v0.94.2+extended darwin/arm64 BuildDate=unknown
7$

以上

関連ページ