Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools

J.C. Hiatt
J.C. Hiatt
9,393 Points

How to remove development tools when starting over?

Over the past couple of years I have installed various development tools and libraries on my Mac, while not actually completing any of the projects or courses I set out to do.

Now that I'm getting back into learning, it seems my entire system is very "cluttered" with lots of different things (hidden folders and hidden files and such).

What can I do to essentially "reset" my system, pending a reformat of my hard drive.

Some of the tools I've messed with: RVM, Rails, Ruby, Bower, MAMP, MacPorts, Heroku, Sublime Text packages, etc. I've installed a lot of different stuff because I never could decide where to start with learning. I'm definitely still new to development, so detailed instructions (with the "why" behind them) are AWESOME.

A copy of my .bash_profile:

export PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/MacGPG2/bin:$PATH export CLICOLOR=1 export LSCOLORS=GxFxCxDxBxegedabagaced

export ARCHFLAGS="-arch x86_64" export CC=/usr/local/bin/gcc-4.2

export PATH=$PATH:/usr/local/rvm/gems/ruby-1.9.3-p392/bin

Added by the Heroku Toolbelt

export PATH=/usr/local/heroku/bin:$PATH

Do some things so we can use MAMP for development

alias mysql=/Applications/MAMP/Library/bin/mysql alias mysql_config=/Applications/MAMP/Library/bin/mysql_config

add mysql stuffs to path

PATH=$PATH:/Applications/MAMP/Library/bin source ~/.profile

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session as a function


Here's screenshot of some of the "clutter" I'm talking about: http://files.virality.me/1ibyV/2IZF7VZd