brew 的源中版本落后,怎么安装新版本?

 brew info ast-grep                                                                                                                                                                                                                                                                    07/01/2023 07:08:24 PM
==> ast-grep: stable 0.5.6 (bottled)
Code searching, linting, rewriting
https://github.com/ast-grep/ast-grep
/opt/homebrew/Cellar/ast-grep/0.5.6 (9 files, 38.2MB) *
  Poured from bottle using the formulae.brew.sh API on 2023-06-24 at 12:18:47
From: https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git/Formula/ast-grep.rb
License: MIT
==> Dependencies
Build: rust ✘
==> Analytics
install: 499 (30 days), 499 (90 days), 499 (365 days)
install-on-request: 499 (30 days), 499 (90 days), 499 (365 days)
build-error: 0 (30 days)

这个包其实有新版本,但源仍是 0.5.6 仅针对 brew 应该怎么更新版本安装

阅读 2.3k
1 个回答
brew update
brew install ast-grep
brew install ast-grep
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题