使用自制软件在 macOS 上安装 smlnj 不起作用

Moh*_*oul 3 macos sml

当我尝试使用自制软件安装 sml 时遇到以下错误

xxxxs-iMac:~ mo$ brew install smlnj

Error: No available formula with the name "smlnj"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
git -C "$(brew --repo homebrew/core)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
Run Code Online (Sandbox Code Playgroud)

我该如何解决问题?

小智 6

我有同样的问题。为我修复它的是使用

brew cask install smlnj
Run Code Online (Sandbox Code Playgroud)

代替

brew install smlnj
Run Code Online (Sandbox Code Playgroud)