cargo-update.md (905B)
1 # update apps installed with cargo 2 3 # まとめ 4 ```bash 5 cargo install cargo-update 6 ``` 7 ``` 8 cargo install-update -a 9 ``` 10 11 # 詳細 12 ## cargo-update 13 cargoのサブコマンドで、cargoでインストールした実行可能パッケージを更新するものです。 14 [cargo-update - crates.io](https://crates.io/crates/cargo-update) 15 16 ## install cargo-update 17 これ自身もcargoからインストールします。 18 ```bash 19 cargo install cargo-update 20 ``` 21 ## cargo-updateを実行 22 cargo-updateの実行はサブコマンド`install-update`で行います。 23 パッケージ名とも違いますし、`cargo update`コマンドは他に存在しますので、この名前なのを忘れて、毎度ググっています(記事を書いた動機) 24 ```bash 25 cargo install-update -a 26 ``` 27 最後の`-a`は`--all`の意味です。 28 29 # 参考文献 30 - thkyamaさんのブログ(https://blog.htkyama.org/cargo_update)