0xf

日記だよ

手元環境が古びていたのでasdfを入れ直した

uvの環境が不正な感じになってたので修正した。

といってもアンインストールして入れ直しただけではある。

を参考にした。

まずhomebrew の autoremove を知らなかった。ははーん。

brew uninstall --force asdf

# 未使用のasdf関連の依存関係を削除
brew autoremove

uv も asdf で入れられる。

 asdf install uv latest
* Downloading uv release 0.7.20...
uv 0.7.20 installation was successful!

asdf globalってまだ反射的に入力してしまう。やりたいことはユーザー単位での有効化で、正解はasdf set -u

$ asdf set --help
NAME:
   asdf set

USAGE:
   asdf set [command [command options]]

OPTIONS:
   --home, -u    The version should be set in the current users home directory (default: false)
   --parent, -p  The version should be set in the closest existing .tool-versions file in a parent directory (default: false)
   --help, -h    show help