-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #107 from bacaron/master
reason: update cli install for npm
- Loading branch information
Showing
1 changed file
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,8 +13,16 @@ Brainlife CLI is distributed through [npm](https://www.npmjs.com/){target=_blank | |
On ubuntu/debian machines, you can run the following command to install nodejs 14 (current LTS). | ||
|
||
``` | ||
curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash - | ||
sudo apt update | ||
sudo apt upgrade | ||
sudo apt install -y ca-certificates curl gnupg | ||
sudo mkdir -p /etc/apt/keyrings | ||
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg | ||
NODE_MAJOR=20 | ||
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list | ||
sudo apt update | ||
sudo apt-get install -y nodejs | ||
sudo npm install -g [email protected] | ||
``` | ||
|
||
!!! Installation For "Mac OSX users" | ||
|