简体   繁体   English

从 github 源而不是 crates.io 全局安装/更新

[英]Install/update globally from github source instead of crates.io

I have installed trunk cargo pkg globally , but there was a bug that is fixed in master but not released yet on crates.我已经在全球范围内安装了trunk cargo pkg ,但有一个错误已在 master 中修复但尚未在 crates 上发布。

Is there a way to install/update my trunk from github source?有没有办法从 github 源安装/更新我的主干?

cargo install accepts a --git command line option: cargo install接受--git命令行选项:

cargo install --git https://github.com/thedodd/trunk.git trunk

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM