Today I was switching back to Android from FirefoxOS on my Revolution (Geeksphone) just to try it. To do so I needed adb which is part of the Android SDK.
To install ADB you need to download the SDK and then extract the zip. Move the folder to a logical place, I put it in my local folder under android.
Then open your .bashrc or .zshrc file and add:
Open a new tab or write
source .bashrc in the terminal and your all set to use adb in the terminal.
Which for me was
adb sideload revoluton-update.zip to update my phone to android.