Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pipe output of curl to bash, not sh #176

Merged
merged 1 commit into from
Oct 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions packages/lingua-franca/src/templates/pages/download.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ 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 | sh -s epoch</code></p>
<p><code>curl -Ls https://install.lf-lang.org | bash -s epoch</code></p>
</p>
<p>You can also install the nightly pre-release:
<p><code>curl -Ls https://install.lf-lang.org | sh -s epoch nightly</code></p>
<p><code>curl -Ls https://install.lf-lang.org | bash -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>The default prefix is <code>/usr/local/bin</code> on a Mac and <code>~/.local/bin</code> on Linux and WSL.
Expand Down Expand Up @@ -105,10 +105,10 @@ 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 | sh -s cli</code></p>
<p><code>curl -Ls https://install.lf-lang.org | bash -s cli</code></p>
</p>
<p>You can also install the nightly pre-release:
<p><code>curl -Ls https://install.lf-lang.org | sh -s cli nightly</code></p>
<p><code>curl -Ls https://install.lf-lang.org | bash -s cli nightly</code></p>
</p>
<p>You can use the <code>--prefix=&lt;path&gt;</code> argument to change the default install location.</p>
</div>
Expand Down
Loading