From 595102fefa893e18a31b2f6f2f00336c7eaa970f Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Sat, 24 Aug 2024 15:12:18 -0700 Subject: [PATCH] Update build-linux.md (#766) --- build-linux.md | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/build-linux.md b/build-linux.md index 9a46f8f4..342e0bef 100644 --- a/build-linux.md +++ b/build-linux.md @@ -34,6 +34,8 @@ You'll now have to move the built `scripthaus` binary to a directory in your pat sudo cp scripthaus /usr/local/bin ``` +## Install nodejs and yarn + You also need a relatively modern nodejs with npm and yarn installed. Node can be installed from [https://nodejs.org](https://nodejs.org). @@ -51,22 +53,6 @@ corepack enable yarn install ``` -## Install nodejs, npm, and yarn - -We use [nvm](https://github.com/nvm-sh/nvm) to install nodejs on Linux (you can use an alternate installer if you wish). You must have a relatively recent version of node in order to build the terminal. Different distributions and shells will require different setup instructions. These instructions work for Ubuntu 22 using bash (will install node v20.8.1): - -``` -wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash -source ~/.bashrc -nvm install v20.8.1 -``` - -Now we can install yarn: - -``` -npm install -g yarn -``` - ## Clone the Wave Repo Move out of the `scripthaus` directory if you're still in it. Clone the wave repository into the directory that you'd like to use for development.