Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Question Headless editor install example?

Discussion in 'Unity Hub' started by MrLucid72, Apr 3, 2024.

  1. MrLucid72

    MrLucid72

    Joined:
    Jan 12, 2016
    Posts:
    1,008
    The Hub CLI docs are beyond-awful: Does anyone have a real example of installing, say, the latest LTS? Thanks!
     
  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    6,987
    Is this working for you?
    Code (CSharp):
    1. "C:\Program Files\Unity Hub\Unity Hub.exe" -- --headless install --version 2022.3.23f1
    Some examples place the quotation marks incorrectly. Like this one, it's not valid syntax:
    Code (CSharp):
    1. C:\Program Files\Unity Hub>"Unity Hub.exe" ...
     
    MrLucid72 likes this.