How to download and setup pkg
Open terminal and run command
git clone https://github.com/genshen/pkg.git
git clone is used to create a copy or clone of pkg repositories.
You pass git clone a repository URL. it supports a few different network protocols and corresponding URL formats.
Also you may download zip file with pkg https://github.com/genshen/pkg/archive/master.zip
Or simply clone pkg with SSH
[email protected]:genshen/pkg.git