Skip to content

Commit ff34e5f

Browse files
committed
Add missing pieces in installation docs (for homebrew and from source code)
1 parent 8e9855c commit ff34e5f

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

docs/proc_installing-newdoc.adoc

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,16 @@ To install `newdoc` on macOS, use the **Homebrew** package manager:
4949

5050
. Install the **Homebrew** package manager as described on <https://brew.sh/>.
5151

52+
. Add the tap (repository):
53+
+
54+
----
55+
$ brew tap redhat-documentation/repo
56+
----
57+
5258
. Install `newdoc`:
5359
+
5460
----
55-
$ brew install redhat-documentation/repo/newdoc
61+
$ brew install newdoc
5662
----
5763

5864
.Container
@@ -104,6 +110,20 @@ To install `newdoc` from source on a Linux distribution, on macOS, or on Microso
104110
$ cargo install newdoc
105111
----
106112

113+
. The `cargo install` command installs newdoc in the `~/.cargo/bin/` directory. To run newdoc without entering the path to the utility, add the `~/.cargo/bin/` directory to your `$PATH` variable:
114+
115+
.. Append the following command to your `~/.bashrc` file:
116+
+
117+
----
118+
export PATH=$PATH:$HOME/.cargo/bin/"
119+
----
120+
121+
.. Reload the settings from `~/.bashrc`:
122+
+
123+
----
124+
$ source ~/.bashrc
125+
----
126+
107127
.Verification
108128

109129
* Test that `newdoc` works:

0 commit comments

Comments
 (0)