Version: 2023.1
Language : English
Install Unity from the command line
Deploy Unity across your enterprise

Install Unity offline without the Hub

The Unity Download Assistant supports offline deployment. Use the Download Assistant to download files to install Unity and to generate a script to repeat the installation on other computers without internet access.

For more information about how to activate Unity manually, refer to the Unity Manual Activation Guide.

Prerequisites

To complete these steps, you need:

  • A computer with internet access
  • A computer without internet access

Download files with an internet connected machine

  1. On the computer with internet access, go to the following website:

    https://unity3d.com/get-unity/download/archive

  2. Select the downloads tab for the operating system of the offline computer and version of Unity you need.

  3. Select Unity Installer.

  4. Proceed through installation, and select any build support options you want.

  5. Download the files to defined location, such as the Downloads folder, instead of to a temporary location.

To confirm the download succeeded, do the following:

  1. Open the file manager.
  2. Navigate to the location folder you specified earlier.
  3. Confirm the .sh or .bat file is inside that folder.
  4. Check the contents of this file to make sure they resemble the following example:

Install Unity on the offline computer

  1. Copy all the downloaded files to the offline computer. If the offline computer has a Windows operating system:

    1. Run the supplied .bat file from the Administrator shell:
      1. In the Start menu, search for cmd.exe.
      2. Right-click.
      3. Select Run as administrator.
    2. Navigate to the folder with the scriptsA piece of code that allows you to create your own Components, trigger game events, modify Component properties over time and respond to user input in any way you like. More info
      See in Glossary
      . This is usually in the Downloads folder (cd C:\Users\[YourName]\Download\UnityPackages).

    If this offline computer has an OSX operating system:

    1. Copy all the downloaded files to the offline computer.
    2. Run the supplied .sh file.
    3. Run sudo install.sh.
    4. Navigate to the folder with the scripts. This is usually in the Downloads folder (cd ~/Downloads/UnityPackages).
  2. Repeat these instructions as many times as you need to for each computer on which you need to install Unity.

  3. After Unity is installed, open Unity through the desktop shortcut.

Activate a license on the offline computer

Follow the manual activation instructions to activate your license on an offline computer.

Install Unity Hub offline

  1. As a part of the downloaded files from the Unity Download Assistant is a file “UnityHubSetup.exe”. Run this file on the offline machine to install Unity Hub. Unity Hub assists in managing your Unity Projects and Editor Installations.

  2. To locate the existing Unity installation, navigate to the “Unity.exe” installed previously. For example:

    C:\Program Files\Unity XXXXXX\Editor\Unity.exe (Default Unity install path without the Hub)

    or

    C:\Program Files\Unity\Hub\Editor\20XXXX\Editor\Unity.exe (Default Unity install path with the Hub)

  3. To deactivate the Welcome screen:

If you’ve never set up a services-config.json file before, you need to create both the config directory and the services-config.json file:

  • MacOS: /Library/Application Support/Unity/config
  • Windows: C:\ProgramData\Unity\config
  • Linux: /usr/share/unity3d/config

Inside this file, add the following option:

{
  "hubDisableWelcomeScreen": true
}
Install Unity from the command line
Deploy Unity across your enterprise