I just installed Titanium Studio and after a while it started asking me to update Titanium.

titanium_studio_error_0

Then it got stuck at this error message: Failed to get value of npm config key prefix.

titanium_studio_error_1

The problem it can’t proceed with the install/update is that, it needs root access. So all you need to do is to open your Titanium with root privilege, let it finish the update, then run it normally later on. To run it with root access, open a terminal.

cd /Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS
sudo ./TitaniumStudio

The update process should finish fine this time around. Once it’s done, quit Titanium. Then you should be good to go. ;)