Open Terminal

Install homebrew with the following command

{% highlight bash %} /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" {% endhighlight %}

Make sure homebrew is up to date with

{% highlight bash %} sudo brew update {% endhighlight %}

Change directory to your brew home folder with

{% highlight bash %} cd /usr/local/Library/Formula curl --insecure -O "https://raw.github.com/OpenKinect/libfreenect/master/platform/osx/homebrew/libfreenect.rb" curl --insecure -O "https://raw.github.com/OpenKinect/libfreenect/master/platform/osx/homebrew/libusb-freenect.rb"

brew install libfreenect

glview

{% endhighlight %}