为什么 STS Cask 不适用于 macOS?

Why is STS Cask not available for macOS?

我尝试使用 brew cask install sts(我在谷歌搜索时发现)在 macOS Mojave 上安装 Spring Tool Suite,但显然它不可用:

brew cask install sts
==> Tapping homebrew/cask
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask'...
remote: Enumerating objects: 3580, done.
remote: Counting objects: 100% (3580/3580), done.
remote: Compressing objects: 100% (3572/3572), done.
remote: Total 3580 (delta 23), reused 592 (delta 6), pack-reused 0
Receiving objects: 100% (3580/3580), 1.20 MiB | 1.25 MiB/s, done.
Resolving deltas: 100% (23/23), done.
Checking out files: 100% (3560/3560), done.
Tapped 1 command and 3469 casks (3,585 files, 3.9MB).
Error: Cask 'sts' is unavailable: No Cask with this name exists.

知道我是否可以使用 Homebrew 在不同的 caskname 下安装和管理 STS 吗?

你用错了包名。 Homebrew 中 Spring Tool Suite 的软件包名称是 springtoolsuite.

brew cask install springtoolsuite