Buck is a build tool. To see what Buck can do for you, check out the documentation at http://buckbuild.com/.
First, clone the Buck repository:
git clone https://github.com/facebook/buck.git
cd buck
Since Buck is used to build Buck, the initial build process invovles 2 phases:
git clone https://github.com/facebook/buck.git
cd buck
ant
./bin/buck build --show-output buck
# output will contain something like
# //programs:buck buck-out/gen/programs/buck.pex
buck-out/gen/programs/buck.pex --help
Apache License 2.0