asdf + chezmoi = ❤️

In a previous post, I mentioned we would revisit chezmoi templates. Today, let’s explore how to use these templates to manage your tool versions with asdf. Data Chezmoi lets you define a mini database to store whatever you want! These data must be defined in the .chezmoidata/ folder. Let’s start by creating an asdf.yaml file in this folder to store our tool versions. .chezmoidata/asdf.yaml : asdf: version: 0.18.0 tools: - name: age version: 1.2.1 plugin_url: - name: bat version: 0.25.0 plugin_url: - name: chezmoi version: 2.64.0 plugin_url: - name: github-cli version: 2.76.2 plugin_url: - name: golang version: 1.25.0 plugin_url: - name: hugo version: 0.148.2 plugin_url: - name: lazygit version: 0.54.2 plugin_url: - name: lsd plugin_url: https://github.com/ossareh/asdf-lsd.git version: 1.1.5 - name: neovim version: 0.11.3 plugin_url: - name: nodejs version: 24.6.0 plugin_url: - name: rclone version: 1.70.3 plugin_url: - name: shellcheck version: 0.11.0 plugin_url: - name: shfmt version: 3.12.0 plugin_url: - name: upx version: 5.0.2 plugin_url: - name: yq version: 4.47.1 plugin_url: - name: gum version: 0.16.2 plugin_url: - name: starship version: 1.23.0 plugin_url: Templates Chezmoi allows you to use templates to customize your configuration files. You can use variables to replace values in your files. ...

August 20, 2025 · 4 min

asdf, a development environment management tool

At work, our dev team works with various technologies like NodeJS/Typescript, Java, Go… And from time to time, we need to revisit a project to make some changes. And often, it’s the same story: Oh yeah, but this project is legacy, it doesn’t compile with the current versions anymore. I either have to rewrite everything or reinstall an old version that’s no longer available on Debian… Sometimes we also hear: ...

April 3, 2025 · Last Modified: April 4, 2025 · 2 min

How to reduce wsl disk

As you use WSL, the VHDX disk image will grow. You need to compact it! 1. Cleanup Start by cleaning up the disk. Each user can choose their preferred method. 2. fstrim Once everything is clean, you can force the system to discard unused elements from the image. sudo fstrim -av 3. Installing wslcompact The wslcompact project is a PowerShell module that allows you to compact the disk efficiently. Set-ExecutionPolicy RemoteSigned -Scope CurrentUser iwr -useb https://raw.githubusercontent.com/okibcn/wslcompact/main/setup | iex Note: On the latest versions of WSL (2.5.4.0?), you may need to patch the file as shown in this commit. ...

April 2, 2025 · Last Modified: April 4, 2025 · 1 min