LoginSignup
3
4

More than 5 years have passed since last update.

"brew install"で最新バージョンがインストールできなかった時にやったこと

Posted at

問題

SwiftLintを最新版(0.7.0)にしようと思って
$ brew install swiftlint
したら最新のではないものがインストールできてしまいました。
/usr/local/Cellar/swiftlint/0.6.0: 43 files, 15.2M

$ brew uninstall swxftlint
を一度実行してからやってみても、
$ brew update
を実行してみても同様でした。

解決策

調べてみるとこんな記事が見つかりました。
http://stackoverflow.com/questions/5056115/how-to-install-latest-version-of-node-using-brew

この記事に書かれていることを参考に、

$ brew update
$ brew doctor
$ brew upgrade swiftlint

という手順を踏んだら無事最新版のSwiftLintをインストールすることができました。
/usr/local/Cellar/swiftlint/0.7.0: 35 files, 15.0M

3
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
4