Clone the sugar-build repository from git
git clone git://github.com/sugarlabs/sugar-build.git
Enter in the directory and pull the latest source code
Build the source code
Finally run the Sugar environment
You will get your Sugar environment open if there is no error.
Type Shift-Alt-Q inside sugar to exit.