Skip to content

Commit

Permalink
Merge pull request rust-lang#2423 from radeksvarz/patch-1
Browse files Browse the repository at this point in the history
added update how to
  • Loading branch information
ehuss authored Aug 11, 2024
2 parents ec996d3 + b51bb10 commit a15134c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions guide/src/guide/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ cargo install mdbook

This will automatically download mdBook from [crates.io], build it, and install it in Cargo's global binary directory (`~/.cargo/bin/` by default).

You can run `cargo install mdbook` again whenever you want to update to a new version.
That command will check if there is a newer version, and re-install mdBook if a newer version is found.

To uninstall, run the command `cargo uninstall mdbook`.

[Rust installation page]: https://www.rust-lang.org/tools/install
Expand All @@ -47,6 +50,8 @@ cargo install --git https://github.com/rust-lang/mdBook.git mdbook

Again, make sure to add the Cargo bin directory to your `PATH`.

## Modifying and contributing

If you are interested in making modifications to mdBook itself, check out the [Contributing Guide] for more information.

[Contributing Guide]: https://github.com/rust-lang/mdBook/blob/master/CONTRIBUTING.md

0 comments on commit a15134c

Please sign in to comment.