From 22d44cb6327f2436abea2f3f97d8b9050232d8ff Mon Sep 17 00:00:00 2001 From: Marten Lohstroh Date: Fri, 20 Oct 2023 23:33:04 -0700 Subject: [PATCH] Pipe output of curl to bash, not sh --- packages/lingua-franca/src/templates/pages/download.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/lingua-franca/src/templates/pages/download.tsx b/packages/lingua-franca/src/templates/pages/download.tsx index aac88fb7c..f9e1c3092 100644 --- a/packages/lingua-franca/src/templates/pages/download.tsx +++ b/packages/lingua-franca/src/templates/pages/download.tsx @@ -66,10 +66,10 @@ const Index: React.FC = (props) => {

Install Script

Run the following command in your terminal to install the latest release (on Windows, use WSL): -

curl -Ls https://install.lf-lang.org | sh -s epoch

+

curl -Ls https://install.lf-lang.org | bash -s epoch

You can also install the nightly pre-release: -

curl -Ls https://install.lf-lang.org | sh -s epoch nightly

+

curl -Ls https://install.lf-lang.org | bash -s epoch nightly

You can use the --prefix=<path> argument to change the default install location.

The default prefix is /usr/local/bin on a Mac and ~/.local/bin on Linux and WSL. @@ -105,10 +105,10 @@ const Index: React.FC = (props) => {

Install Script

Run the following command in your terminal to install the latest release (on Windows, use WSL): -

curl -Ls https://install.lf-lang.org | sh -s cli

+

curl -Ls https://install.lf-lang.org | bash -s cli

You can also install the nightly pre-release: -

curl -Ls https://install.lf-lang.org | sh -s cli nightly

+

curl -Ls https://install.lf-lang.org | bash -s cli nightly

You can use the --prefix=<path> argument to change the default install location.