unity-downloader

Helps you automate Unity downloads

Usage no npm install needed!

<script type="module">
  import unityDownloader from 'https://cdn.skypack.dev/unity-downloader';
</script>

README

Unity Downloader

This is a CLI tool written in Node.js (so yes, you will need to install Node) to help you download Unity releases and maintain copies of multiple versions. It can be very useful to stick this in a CI environment which could download new releases the moment they are out, avoiding the long wait for the download to complete. For teams, it can also mean a big win by not having everyone download their individual copies through the official Unity Downloader, but instead installing from the same shared downloaded packages.

Installing

Make sure you have Node.js installed. Pretty much any version should work, as we don't use any new high-tech super rainbow unicorn APIs, nor ES6.

npm install --global unity-downloader

Usage

$ unity-downloader --help

Usage: unity-downloader [options]

Options:

  --url=URL           The URL that will be scraped for downloads (default: http://unity3d.com/get-unity/download/archive)
  --semver=RANGE      A semver range within which to limit your downloads (default: >= 5.0.0)
  --latest-only       Flag for downloading only the most recent version in the range (no value, default: off)
  --systems=LIST      For which operating systems to download (default: mac,win)
  --downloads=LIST    Which packages to download (default: unity editor,unity editor 64-bit)
  --out=PATH          Output folder (default: ./)
  --status=PATH       Output file for single version download info (may contain ${VERSION}, eg: '${VERSION}.json'), default: none)
  --simulate          Flag for doing a simulation run (no value, default: off)
  --help              This help output

License

MIT