XcodesOrg / xcodes

The best command-line tool to install and switch between multiple versions of Xcode.
MIT License
3.73k stars 130 forks source link

[feature request] add support for temporary selection for current shell only #321

Open DoDoENT opened 11 months ago

DoDoENT commented 11 months ago

xcodes select requires a root password and globally changes the selected xcode.

However, sometimes I need to select a different Xcode only for the current shell temporarily.

I can do that with export DEVELOPER_DIR=/path/to/Xcode.app/Contents/Developer.

Integrating that feature into the xcodes utility would be nice.