nvm --verision
-> 0.34.0
https://github.com/nvm-sh/nvm/blob/master/README.md#installation-and-update
nvm install 8.15.1
-> This will install 8.15.1 if it is not already, and switch to that version automatically.
node --version
-> 8.15.1
npm install -g mocha
-> Installs mocha globally.
If you run into a permissions error, run
sudo npm install -g mocha
mocha --version
-> 6.1.4
npm install -g nodemon
-> Installs nodemon globally.
If you run into a permissions error, run
sudo npm install -g nodemon
nodemon --version
-> 1.19.0
npm install -g webpack
-> Installs webpack globally.
If you run into a permissions error, run
sudo npm install -g webpack
webpack --version
-> 4.29.6
npm install -g bower
-> Installs bower globally.
If you run into a permissions error, run
sudo npm install -g bower
bower --version
-> 1.8.8
mysql --version
-> The output should contain Distrib 5.7.25
If there is a different version number in front of Distrib
, please flag down a proctor to help you!
If mysql is not installed (and you are using a Mac), follow the below instructions.
brew --version
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install mysql@5.7
brew tap homebrew/services
brew services start mysql@5.7
brew services list
-> Output should include mysql@5.7 started
brew link mysql@5.7 --force
echo 'export PATH="/usr/local/opt/mysql@5.7/bin:$PATH"' >> ~/.bash_profile
Try mysql -u root
If the above command opened up the mysql shell, press ctrl + d
to exit the shell, then change your root password (Don't forget it!)
Run mysqladmin -u root password 'your-new-password-here'
Test logging in with your new password by running mysql -u root -p
. Enter your password. If you see the mysql shell, you are done installing mysql!
Check your terminal window at the section that you ran brew install mysql@5.7
, and look for a provided password, make a note of it when you find it (If you don't, please flag down a proctor). /Then execute the following command (with a new password) to change your password:/
mysqladmin -u root -p password 'your-new-password-here'
It will prompt for a password. Enter the password that was provided.
Test logging in with your new password by running mysql -u root -p
. Enter your password. If you see the mysql shell, you are done installing mysql!
https://treehouse.github.io/installation-guides/mac/mongo-mac.html
mongo --version
-> MongoDB shell version v4.0.3
mongod --version
-> db version v4.0.3
Run mongo
. If the Mongo shell appears, you are done!