Skip to content

Instantly share code, notes, and snippets.

@emiax
Last active September 3, 2019 16:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emiax/a859d251452cf0d718eea231aa9c5571 to your computer and use it in GitHub Desktop.
Save emiax/a859d251452cf0d718eea231aa9c5571 to your computer and use it in GitHub Desktop.
LiU React Setup
# Go to the folder where you want to install things
cd "C:\Users\" + $env.UserName
# Create a new folder for the labs and enter it
mkdir tnm040-labs
cd tnm040-labs
# Download
wget "https://nodejs.org/dist/v10.16.3/node-v10.16.3-win-x64.zip" -outfile "node.zip"
Expand-Archive ./node.zip -DestinationPath ./node
$env:Path += "C:\Users\" + $env.UserName + "\tnm040-labs\node\node-v10.16.3-win-x64
wget "https://download.sublimetext.com/Sublime%20Text%20Build%203207%20x64.zip" -outfile "sublime.zip"
Expand-Archive ./sublime.zip -DestinationPath ./sublime
$env:Path += "C:\Users\" + $env.UserName + "\tnm040-labs\sublime"
npx create-react-app lab1
./subl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment