Skip to content

Commit

Permalink
chore: remove material shell for a cleaner setup
Browse files Browse the repository at this point in the history
- Add new script for nodejs install
  • Loading branch information
jules-ch committed Sep 11, 2023
1 parent 0829dcf commit 92e19ec
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,18 +158,21 @@ sudo flatpak install postman -y

## Node.JS + Yarn Install

echo "Installing Node 14 JS LTS"
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update -qq && sudo apt-get install -y yarn
sudo apt-get update
sudo apt-get 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=18
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

# Setup GNOME material shell (Need Node.js for compilation of the Typescript extension)
echo "Installing Node 18 JS LTS"
sudo apt-get update
sudo apt-get install nodejs -y

git clone -b 3.38 https://github.com/PapyElGringo/material-shell.git ~/material-shell || true
make -C ~/material-shell/ install
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update -qq && sudo apt-get install -y yarn


# Setup Android Studio for Mobile Development
Expand Down

0 comments on commit 92e19ec

Please sign in to comment.