'Installed Unity without hub version and now unity hub won't allow me to add module

i installed unity 2019.3.10f without unity hub. Now i want to download modules such as android , sdk ,ndk and jdk (recommended ones) but hub does not give option to add module.

Unity version is latest same as hub but radio button is disabled



Solution 1:[1]

You can re-enable the option 'Add Modules':

Windows
1- go to C:\Users\{USER_NAME}\AppData\Roaming\UnityHub

MacOS
1- go to ~/Library/Application/Support/UnityHub

2- open editors.json file.
3- change "manual":true to "manual":false
4- kill the UnityHub and restart it. Note: Do not forget is stays in the tray on Windows.

Solution 2:[2]

So, i searched and found out that if you don't download unity from unity hub you cannot add modules from unity hub. I didn't expected that but that's how it works. So, i had to uninstall the old one and then install via unity hub. The three dot option show modules only if its downloaded via unity hub. In short if you want unity hub's help you would have to play by unity hub's rules. That might be inconvenient to some extent.

Solution 3:[3]

The manual re-enable only seems to work if you have just one version of the editor installed. If you have more than one, it attempts to install the modules for the version you actually downloaded with the hub. This can break things. At this point, unfortunately, it seems you must uninstall the version that is not allowing modules to be added, and reinstall it directly through the hub.

Solution 4:[4]

Here is simple trick, and it worked for me.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 douche_satan
Solution 2 zubi
Solution 3 Hunanbean.mint
Solution 4 Amalnath Sathyan