Thứ Hai, 4 tháng 3, 2019

[ubuntu] learn how to code with [nodeschool.io]

source: 
https://nodeschool.io/#workshoppers

1, install
sudo apt-get install nodejs
sudo apt-get install npm

2, install a lesson
  npm install -g [name of the lesson]
 Example:  npm install -g javascripting
3, start your lesson
 open the Terminal by => ALT + CTRL + T
 and just type the name of the lesson
EX:  javascripting
4, to access the lesson folder 
   cd /usr/bin
    cd  /usr/lib
5, remove all lesson
npm ls -gp --depth=0 | awk -F/ '/node_modules/ && !/\/npm$/ {print $NF}' | xargs npm -g rm