zip-here
Quickly compress the current folder, support parsing .gitignore exclusion files, and preset some files to be excluded
Install
npm i zip-here -g
Zip folder
cd folder
zh
Specify the output location
cd folder
zh -o /Users/username/Desktop/output.zip