```text $ cargo list -h List and update installed crates
Usage: cargo list [OPTIONS]
Options:
-f
text
$ cargo list -V
cargo-list 0.3.0
text
$ cargo list
* bat: v0.23.0
* kapow: v2.9.1 => v2.10.0
text
$ cargo list -f json
[{"name":"bat","installed":"v0.23.0","available":"v0.23.0",\
"outdated":false},{"name":"kapow","installed":"v2.9.1","ava\
ilable":"v2.10.0","outdated":true}]
text
$ cargo list
* kapow: v2.9.1 => v2.10.0
text
$ cargo list -f json-pretty
[
{
"name": "bat",
"installed": "v0.23.0",
"available": "v0.23.0",
"outdated": false
},
{
"name": "kapow",
"installed": "v2.9.1",
"available": "v2.10.0",
"outdated": true
},
]
~~~text $ cargo list --update * bat: v0.23.0 * kapow: v2.9.1 => v2.10.0
text
$ cargo install kapow
$ cargo install kapow
Updating crates.io index
Installing kapow v2.10.0
...
Compiling kapow v2.10.0
Finished release [optimized] target(s) in 7.22s
Replacing /home/qtfkwk/.cargo/bin/kapow
Replaced package `kapow v2.9.1` with `kapow v2.10.0` (e\
xecutable `kapow`)
~~~
```text $ cargo list * bat: v0.23.0 * kapow: v2.10.0
All crates are up-to-date! ```
text
$ cargo list -f json
[{"name":"bat","installed":"v0.23.0","available":"v0.23.0",\
"outdated":false},{"name":"kapow","installed":"v2.10.0","av\
ailable":"v2.10.0","outdated":false}]
text
$ cargo list -f json-pretty
[
{
"name": "bat",
"installed": "v0.23.0",
"available": "v0.23.0",
"outdated": false
},
{
"name": "kapow",
"installed": "v2.10.0",
"available": "v2.10.0",
"outdated": false
},
]
text
$ cargo list --outdated
*All crates are up-to-date!*
text
$ cargo list -f json
[]