我在 Mac 上通过 ASDF v0.9.0 设置 .Net 核心,安装插件dotnet-core
并设置版本 ( 3.1.416
)后dotnet
仍然找不到
zsh: command not found: dotnet-core
这是我的.zshrc
alias rbrew="/usr/local/bin/brew"
. /opt/homebrew/opt/asdf/libexec/asdf.sh
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
看着我看不到的可用垫片dotnet
,即使我尝试重新垫片
% asdf shim-versions dotnet
asdf: unknown shim dotnet
我想念什么?有什么提示可以指出我正确的方向吗?