Skip to content

Commit

Permalink
Refine instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardalee committed Oct 5, 2023
1 parent 9f628fc commit 51d164f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/lingua-franca/src/templates/pages/download.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,15 @@ const Index: React.FC<Props> = (props) => {
<div style={{borderTop: "1px lightgray solid"}}>
<h3>Install Script</h3>
<p>Run the following command in your terminal to install the latest release (on Windows, use WSL):
<p><code>curl -Ls https://install.lf-lang.org | sudo sh -s epoch</code></p>
<p><code>curl -Ls https://install.lf-lang.org | sh -s epoch</code></p>
</p>
<p>You can also install the nightly pre-release:
<p><code>curl -Ls https://install.lf-lang.org | sudo sh -s epoch nightly</code></p>
<p><code>curl -Ls https://install.lf-lang.org | sh -s epoch nightly</code></p>
</p>
<p>You can use the <code>--prefix=&lt;path&gt;</code> argument to change the default install location.</p>
<p>You may not need the <code>sudo</code> part if you have permission to write to the install location.</p>
<p>The default prefix is <code>/usr/local/bin</code> on a Mac and <code>~/.local/bin</code> on Linux and WSL.
You may not have write access to this directory by default, in which case, if you still want to use the default prefix,
you can replace <code>sh</code> with <code>sudo sh</code> in the above commands.</p>
</div>
<div style={{borderTop: "1px lightgray solid"}}>
<h3>AUR</h3>
Expand Down

0 comments on commit 51d164f

Please sign in to comment.