Transfer Data between Macs
If you make and then restore a complete Time Machine backup or use Migration Assistant you should have no problem moving everything to a new machine and having it work as expected. Otherwise I'm afraid you'll have to reinstall all of your tools and libraries.