- create .sh file
chmod +x your.sh
- Edit ~/.zshrc file, add
export PATH=$PATH:~/hacker_script
; source ~/.zshrc
brew install jq
https://stedolan.github.io/jq/tutorial/
- python
virtual-env
activate (python2/python3)
- install Node.js:
brew install node; node -v; brew install npm;
- install puppeteer
npm install -g cnpm --registry=https://registry.npm.taobao.org
cnpm i puppeteer
node your.js