Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including github-clone-all-org with all npm packages installed. Try it out:

var githubCloneAllOrg = require("github-clone-all-org")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

github-clone-all-org v1.0.0

Clone all organization branches from GitHub


Clone all organization branches from GitHub.



npm install -g github-clone-all-org


sudo npm install -g github-clone-all-org


github-clone-all-org [options]

  --version   Show version number
  -o, --org   Organization       
  -u, --usr   GitHub username    
  -p, --pwd   GitHub password    
  -t, --token GitHub token (-u and -p parameters are useless)
  -d, --dest  Destination path (-d "c:\\temp")
  -c, --clean Clean destination path
  -l, --log   Generate log
  -z, --zip   Compress backup to <path> + <file>.7z (if file is $ then use default filename.7z)
  --settings  Settings file <config.json>
  -h          Show help          


  • Your GitHub token needs repo scope only.
  • git and 7z needs to be installed.
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free