◐ Shell
clean mode source ↗

macOS fails to install dependencies: Could not symlink lib/libtcl8.6.dylib

The macOS CI of GitHub Action failed in the Install Homebrew dependencies step with:

Linking /usr/local/Cellar/tcl-tk@8/8.6.16... 
Error: Could not symlink lib/libtcl8.6.dylib
Target /usr/local/lib/libtcl8.6.dylib
is a symlink belonging to tcl-tk@8. You can unlink it:
  brew unlink tcl-tk@8

To force the link and overwrite all conflicting files:
  brew link --overwrite tcl-tk@8

To list all files that would be deleted:
  brew link --overwrite tcl-tk@8 --dry-run