Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在 FreeBSD 机器上安装 SDKMAN 包管理器。我成功执行了:
curl -s "https://get.sdkman.io" | bash
当我尝试运行时出现问题:
source "/root/.sdkman/bin/sdkman-init.sh"
我在终端中收到以下错误:
Illegal variable name.
FreeBSD 默认没有bash,所以你可能运行不同的 shell。尝试bash先运行以进入 bash 提示符,然后运行该source ...命令。
bash
source ...