<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Notes on Wilhelm Maritz</title><link>https://wjmaritz.dev/categories/notes/</link><description>Recent content in Notes on Wilhelm Maritz</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Wed, 22 Jan 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://wjmaritz.dev/categories/notes/index.xml" rel="self" type="application/rss+xml"/><item><title>Installing Hugo on WSL</title><link>https://wjmaritz.dev/posts/hugo-on-wsl/</link><pubDate>Wed, 22 Jan 2025 00:00:00 +0000</pubDate><guid>https://wjmaritz.dev/posts/hugo-on-wsl/</guid><description>&lt;p>If you develop on Windows but want a Linux toolchain, Hugo runs happily under WSL. Here is the quick version, plus the one gotcha worth knowing.&lt;/p>
&lt;h2 id="the-quick-way-often-out-of-date">The quick way (often out of date)&lt;/h2>
&lt;p>Update your package list and install from apt:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>sudo apt update
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>sudo apt install hugo
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>This works, but Ubuntu and Debian package a version of Hugo that usually lags well behind the current release. Themes move quickly, and plenty of them need a newer Hugo than apt will give you. If a theme&amp;rsquo;s build complains about your Hugo version, this is why.&lt;/p></description></item></channel></rss>