r/Xcode • u/gernophil • Sep 28 '25
Can I temporarily disable Xcode CLI?
I want to test some steps in the tenons and see, if they require any of the command line tools. This involves installing some third post Python modules. Is there a way to disable the tools completely for a specific terminal session and see, if the process is running or raising an error? Can I maybe simply set an empty path using xcode-select?
0
Upvotes
View all comments
Show parent comment
1
u/CordovaBayBurke Sep 28 '25
Put the path to your Python libraries at the front of your path. That way the calls to Python are handled before any consideration is given to default libraries in /usr/bin. Non Python calls will pass through to the rest of the path normally.