Skip to content

Commit

Permalink
be more clear about activating opam switch on the install page
Browse files Browse the repository at this point in the history
  • Loading branch information
sabine committed Jul 13, 2023
1 parent b7838fe commit 1690524
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/ocamlorg_frontend/pages/install.eml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,15 @@ Layout.render
During <code>opam init</code>, you will be asked if you want to add a hook
to your shell to put the tools available in the current <code>opam</code> switch
on your PATH.
If you answer no, you will need to activate the <code>opam</code> switch
by running <code>eval $(opam env)</code>.
</p>

</li>
<li>
<h3>Activate the <code>opam</code> switch</h3>
<p>
If you answered no when prompted in the previous step, you need to activate the <code>opam</code> switch
by running <code>eval $(opam env)</code> or explicitly execute commands within the switch by using
<code>opam exec -- [CMD]</code>.
</p>
</li>
</ol>
Expand Down

0 comments on commit 1690524

Please sign in to comment.