### Unity Hub Initial Setup and Licensing Guide Source: https://docs.unity3d.com/hub/manual/FTU This section outlines the initial steps for first-time Unity users when launching the Unity Hub. It covers the introductory video, prompted Unity Editor installation, and the process of obtaining a personal license. ```html

First-time users

This page details how you can set up the Unity Hub once you install it onto your machine if you are a first-time user:

  1. When you first open the Hub application, it will display a short video that summarizes the updates and changes introduced in Version 3.0.
  2. After the video, the Hub will prompt you to install the Unity Editor.

Note: This will install the latest long-term support version of the Unity Editor. If you want a specific version, you can skip this step and go to the Add Editor page.

  1. The next page prompts you to get your first personal licence. You can also select Choose another plan if the displayed criteria don't apply. For more information, go to the Licenses page.
``` -------------------------------- ### Install Unity Hub Beta on RHEL/CentOS Source: https://docs.unity3d.com/hub/manual/InstallHub Installs beta versions of the Unity Hub on RHEL or CentOS systems by adding a separate repository entry for unstable RPM packages. ```bash sudo sh -c 'echo -e "[unityhub-beta]\nname=Unity Hub Beta\nbaseurl=https://hub.unity3d.com/linux/repos/rpm/unstable\nenabled=1\ngpgcheck=1\ngpgkey=https://hub.unity3d.com/linux/repos/rpm/unstable/repodata/repomd.xml.key\nrepo_gpgcheck=1" > /etc/yum.repos.d/unityhub_beta.repo' ``` ```bash sudo yum check-update sudo yum install unityhub ``` -------------------------------- ### Install Unity Hub Beta on Debian/Ubuntu Source: https://docs.unity3d.com/hub/manual/InstallHub Installs beta versions of the Unity Hub on Debian or Ubuntu systems by adding a separate repository entry for unstable packages. ```bash sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/Unity_Technologies_ApS.gpg] https://hub.unity3d.com/linux/repos/deb unstable main" > /etc/apt/sources.list.d/unityhub-beta.list' ``` ```bash sudo apt update sudo apt-get install unityhub= ``` -------------------------------- ### Install Unity Hub on RHEL/CentOS Source: https://docs.unity3d.com/hub/manual/InstallHub Installs the Unity Hub on RHEL or CentOS-based Linux systems by adding the Unity Hub RPM repository, then updating the package cache and installing the package. ```bash sudo sh -c 'echo -e "[unityhub]\nname=Unity Hub\nbaseurl=https://hub.unity3d.com/linux/repos/rpm/stable\nenabled=1\ngpgcheck=1\ngpgkey=https://hub.unity3d.com/linux/repos/rpm/stable/repodata/repomd.xml.key\nrepo_gpgcheck=1" > /etc/yum.repos.d/unityhub.repo' ``` ```bash sudo yum check-update sudo yum install unityhub ``` -------------------------------- ### Unity Hub Advanced Settings Link Source: https://docs.unity3d.com/hub/manual/InstallHub Provides a link to the Advanced Settings documentation for managing Unity Hub beta versions. ```html Advanced Settings ``` -------------------------------- ### Install Unity Hub on Debian/Ubuntu Source: https://docs.unity3d.com/hub/manual/InstallHub Installs the Unity Hub on Debian or Ubuntu-based Linux systems by adding the Unity Hub repository and GPG key, then updating the package list and installing the package. ```bash wget -qO - https://hub.unity3d.com/linux/keys/public | gpg --dearmor | sudo tee /usr/share/keyrings/Unity_Technologies_ApS.gpg > /dev/null ``` ```bash sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/Unity_Technologies_ApS.gpg] https://hub.unity3d.com/linux/repos/deb stable main" > /etc/apt/sources.list.d/unityhub.list' ``` ```bash sudo apt update sudo apt-get install unityhub ``` -------------------------------- ### Download Unity Hub 3.12.1 Source: https://docs.unity3d.com/hub/manual/InstallHub Direct download links for Unity Hub version 3.12.1 across different operating systems. ```APIDOC Unity Hub 3.12.1 Downloads: Windows x64: https://public-cdn.cloud.unity3d.com/hub/3.12.0/UnityHubSetup.exe macOS: Intel (x64): https://public-cdn.cloud.unity3d.com/hub/3.12.0/UnityHubSetup-x64.dmg Apple Silicon (arm64): https://public-cdn.cloud.unity3d.com/hub/3.12.0/UnityHubSetup-arm64.dmg Linux: RPM package: https://public-cdn.cloud.unity3d.com/hub/3.12.0/unityhub-x86_64-3.12.1.rpm DEB package: https://public-cdn.cloud.unity3d.com/hub/3.12.0/unityhub-amd64-3.12.1.deb ``` -------------------------------- ### Unity Hub Command Line Interface Source: https://docs.unity3d.com/hub/manual/InstallHub Provides access to the Unity Hub's command-line interface for advanced users. This allows for scripting and automation of Hub operations. ```APIDOC Hub Command Line Interface: Usage: UnityHubCLI [command] [options] Commands: install-editor [--module ,...] [--build ] Installs a specific Unity Editor version with optional modules and build targets. uninstall-editor Uninstalls a specific Unity Editor version. list-editors Lists all installed Unity Editor versions. install-hub Installs a specific Unity Hub version. update-hub Updates the Unity Hub to the latest version. Options: --module: Specify modules to install with an Editor version (e.g., --module Android,iOS). --build: Specify the build target for the Editor installation (e.g., --build android). Example: UnityHubCLI install-editor 2022.3.10 --module Android,WebGL --build android ``` -------------------------------- ### Install Unity Hub on CentOS Source: https://docs.unity3d.com/hub/manual/Help Commands to install the stable version of Unity Hub on CentOS by disabling the beta repository and then installing or querying specific versions. ```bash $ sudo mv /etc/yum.repos.d/unityhub_beta.repo /etc/yum.repos.d/unityhub_beta.repo.bak $ sudo yum check-updates $ sudo yum install unityhub ``` ```bash $ sudo yum list unityhub $ sudo yum install unityhub- ``` -------------------------------- ### Install Unity Modules Source: https://docs.unity3d.com/hub/manual/HubCLI Command to download and install modules to an already installed Unity Editor. ```APIDOC Unity Hub CLI - Install Modules Command: `install-modules` (alias: `im`) Purpose: Downloads and installs modules to an installed Unity Editor. Options: --version, -v (Required): Specifies the version of the installed Editor to add the module to (e.g., `2022.1.1f1`). --module, -m (Required): Specifies the module ID to install. You can add more than one module at a time (e.g., `android`, `appletv webgl`). --childModules, --cm (Optional): Automatically selects and downloads all child modules for the specified modules. Available Modules: Documentation: `documentation` Android Build Support: `android` Android SDK & NDK Tools: `android-sdk-ndk-tools` OpenJDK: `android-open-jdk` iOS Build Support: `ios` tvOS Build Support: `appletv` Linux Build Support (Mono): `linux-mono` Linux Build Support (IL2CPP): `linux-il2cpp` WebGL Build Support: `webgl` Windows Build Support: `windows` Vuforia Augmented Reality support: `vuforia-ar` Language packs: `language-ja`, `language-ko`, `language-zh-cn`, `language-zh-hant`, `language-zh-hans` Windows Build Support (Mono): `windows-mono` Lumin OS (Magic Leap) Build Support: `lumin` Microsoft Visual Studio Community 2017/2019: `visualstudio` Visual Studio for Mac: `visualstudio` Mac Build Support (Mono): `mac-mono` Mac Build Support (IL2CPP): `mac-il2cpp` Universal Windows Platform Build Support: `universal-windows-platform` UWP Build Support (IL2CPP): `uwp-il2cpp` UWP Build Support (.NET): `uwp-.net` Note: Not all modules are available for every version of the Editor or for every OS. ``` -------------------------------- ### Unity Hub CLI Install Path Management Source: https://docs.unity3d.com/hub/manual/HubCLI Allows setting or getting the directory where Unity Editors are installed. If no option is specified, it defaults to getting the current install path. ```APIDOC Unity Hub CLI Install Path Commands: install-path [--set | -s ] [--get | -g] Description: Manages the installation path for Unity Editors. Options: --set, -s : Sets the install path to the specified directory. --get, -g : Displays the current install path. Default Behavior: If neither --set nor --get is provided, the command defaults to --get. Examples: # Get current install path unityhub -- --headless install-path unityhub -- --headless install-path --get unityhub -- --headless install-path -g # Set install path unityhub -- --headless install-path --set "C:\UnityEditors" unityhub -- --headless install-path -s "/Applications/Unity/Hub/Editor" ``` -------------------------------- ### Unity Hub Installation Path Source: https://docs.unity3d.com/hub/manual/HubCLI Command to specify the installation path for Unity Hub across different operating systems. ```bash /Applications/Unity\ Hub.app/Contents/MacOS/Unity\ Hub -- --headless install-path -s /Applications/Unity/Hub/Editor/ ``` ```bash C:\Program Files\Unity Hub>"Unity Hub.exe" -- --headless install-path -s /Applications/Unity/Hub/Editor/ ``` ```bash ~/Applications/Unity\ Hub.AppImage --headless install-path -s /Applications/Unity/Hub/Editor/ ``` -------------------------------- ### Unity Hub Command Line Interface (CLI) Source: https://docs.unity3d.com/hub/manual/InstallEditors Documentation for the Unity Hub Command Line Interface, detailing commands for managing Unity installations and projects. ```APIDOC Hub CLI: Manages Unity installations and projects from the command line. Commands: --version Prints the Unity Hub version. --list Lists all installed Unity Editor versions. --install Installs a specific Unity Editor version. Example: --install 2022.3.10f1 --uninstall Uninstalls a specific Unity Editor version. Example: --uninstall 2022.3.10f1 --add-project Adds an existing project to the Unity Hub. Example: --add-project "C:\MyUnityProject" 2022.3.10f1 --open-project Opens a project using the default Unity Editor version. Example: --open-project "C:\MyUnityProject" --create-project