Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

Is there a way to install/update my trunk from github source?

like image 727
ZiiMakc Avatar asked Oct 27 '25 15:10

ZiiMakc


1 Answers

cargo install accepts a --git command line option:

cargo install --git https://github.com/thedodd/trunk.git trunk
like image 66
eggyal Avatar answered Oct 30 '25 11:10

eggyal