I thinkxcode-select --installattaches itselfto the node version you have installed at the time. So if you're usingnvm,asdfor similar, the install process will be linked to the current Node version, and will break if you switch to another version. ...