Skip to content

Commit a15134c

Browse files
authored
Merge pull request #2423 from radeksvarz/patch-1
added update how to
2 parents ec996d3 + b51bb10 commit a15134c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

guide/src/guide/installation.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ cargo install mdbook
3030

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

33+
You can run `cargo install mdbook` again whenever you want to update to a new version.
34+
That command will check if there is a newer version, and re-install mdBook if a newer version is found.
35+
3336
To uninstall, run the command `cargo uninstall mdbook`.
3437

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

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

53+
## Modifying and contributing
54+
5055
If you are interested in making modifications to mdBook itself, check out the [Contributing Guide] for more information.
5156

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

0 commit comments

Comments
 (0)