Welcome‎ > ‎

Setup NXC

We need to setup NXC in your computer before you can start programming the Lego Mindstorms with NXC. You can follow the video or written instructions below.

Instructions - Video


Instructions - Written

To do this, you need to go to the NXC website at: http://bricxcc.sourceforge.net/nbc/

Download the nbc binary from that website. The pictures below should help you get oriented in the pages, and the links you need to click to download the binary.

NXB Download 1

Once you have downloaded the binary, you need to copy it to your computer to a location that will run it.

If you are in a Linux or Mac OSX computer, then you want to copy that file to the /usr/bin directory.

If you are in a Mac OSX computer, and you downloaded the binary, then the file most likely got dropped in your Downloads directory. 

  1. Extract the file that got download, on the Mac double click on the file and it should extract it to the same location.
  2. Open a Terminal window (Applications/Utilities/Terminal.app) move the file to the /usr/bin directory. The snippet below shows how I move the file to the directory.
$ cd Downloads
~/Downloads $ cd nbc-1.2.1.r4.osx
~/Downloads/nbc-1.2.1.r4.osx $ ls
NXT    doc    tests
~/Downloads/nbc-1.2.1.r4.osx $ cd NXT
~/Downloads/nbc-1.2.1.r4.osx/NXT $ ls
nbc            nxtcom_scripts.zip
~/Downloads/nbc-1.2.1.r4.osx/NXT $ sudo mv nbc /usr/bin