Version: 2019.1
Installing Unity from the command line
Unity Hub advanced deployment considerations

Installing Unity offline without the Hub

The Unity Download Assistant supports offline deployment. This allows you to download all the necessary files for installing Unity, and to generate a script for repeating the same installation on other computers without internet access.

Preparation

Run the Download Assistant, and install Unity as normal on one computer. This computer must have enough free disk space to download all the files. Click the dropdown and select Custom, then choose the location you wish to download the files to.

Check you have everything you need

Open your PC’s file manager, navigate to the custom location folder you specified earlier, and look for the .sh or .bat file inside that folder. Check the contents of this file. It should look similar to the following example:

Deploying Unity to other computers

Windows

  1. Copy the entire folder to the target Windows PC, and run the supplied .bat file.
  2. To avoid the Windows UAC prompt, run install.bat from the Administrator shell. In the Start menu, search for cmd.exe, right-click, and select Run as administrator.
  3. Navigate to the folder with the scripts. This will usually be in your Downloads folder (cd C:\Users\[YourName]\Download\UnityPackages).

Mac

  1. Copy the entire folder to the target Mac OS X machine, and run the supplied .sh file. Run sudo install.sh.
  2. Navigate to the folder with the scripts. This will usually be in your Downloads folder (cd ~/Downloads/UnityPackages).
  3. You can repeat these instructions as many times as you need to for each computer you wish to install Unity on.
Installing Unity from the command line
Unity Hub advanced deployment considerations
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961