From 51d164f485ce530fd4a032fe2e13ca5ddd457e42 Mon Sep 17 00:00:00 2001 From: "Edward A. Lee" Date: Thu, 5 Oct 2023 08:35:21 -0700 Subject: [PATCH] Refine instructions --- packages/lingua-franca/src/templates/pages/download.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/lingua-franca/src/templates/pages/download.tsx b/packages/lingua-franca/src/templates/pages/download.tsx index 2c81bf6ed..aac88fb7c 100644 --- a/packages/lingua-franca/src/templates/pages/download.tsx +++ b/packages/lingua-franca/src/templates/pages/download.tsx @@ -66,13 +66,15 @@ 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 | sudo sh -s epoch

+

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

You can also install the nightly pre-release: -

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

+

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

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

-

You may not need the sudo part if you have permission to write to the install location.

+

The default prefix is /usr/local/bin on a Mac and ~/.local/bin 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 sh with sudo sh in the above commands.

AUR