> For the complete documentation index, see [llms.txt](https://theiotlearninginitiative.gitbook.io/nextthingcochip/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://theiotlearninginitiative.gitbook.io/nextthingcochip/getting-started/sdk.md).

# SDK

[Installing CHIP SDK](https://nextthingco.zendesk.com/hc/en-us/articles/210863457-Installing-C-H-I-P-SDK-)

## CHIP SDK

### Install VirtualBox 4.3

```bash
# nano /etc/apt/sources.list
deb http://download.virtualbox.org/virtualbox/debian vivid contrib
# cd
# wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | apt-key add -
# apt-get update
# apt-get install virtualbox-5.0
# apt-get install dkms
```

### Install VirtualBox Extension Pack 4.3

[VirtualBox Extension Pack 4.3](http://download.virtualbox.org/virtualbox/4.3.30/Oracle_VM_VirtualBox_Extension_Pack-4.3.30-101610.vbox-extpack)

### Install Vagrant

```bash
# apt-get install install vagrant
```

### Install Git

```bash
# apt-get install git
```

### Install CHIP-SDK

```bash
$ git clone https://github.com/NextThingCo/CHIP-SDK
```

### Virtual Machine Startup

```bash
$ cd CHIP-SDK
$ vagrant up
$ vagrant ssh
vagrant@vagrant-ubuntu-trusty-32:~$
```

### Ubuntu Setup

````bash
vagrant@vagrant-ubuntu-trusty-32:~$ ./CHIP-SDK/setup_ubuntu1404.sh

### Virtual Machine Exit

```sh
vagrant@vagrant-ubuntu-trusty-32:~$ vagrant plugin install vagrant-vbguest
vagrant@vagrant-ubuntu-trusty-32:~$ exit
$ vagrant halt
````

## Issues

In Buildroot

```bash
vagrant@vagrant-ubuntu-trusty-32:~$ usermod -a -G dialout vagrant
vagrant@vagrant-ubuntu-trusty-32:~$ adduser vagrant dialout
vagrant@vagrant-ubuntu-trusty-32:~$ chmod 666 /dev/ttyACM0
vagrant@vagrant-ubuntu-trusty-32:~$ cu -l /dev/ttyACM0 -s 115200
```

## Links

* <http://pastebin.com/w5pDhHAe>
* <https://github.com/NextThingCo/>
* <https://bbs.nextthing.co/t/unable-to-flash-alpha-c-h-i-p/544/41>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://theiotlearninginitiative.gitbook.io/nextthingcochip/getting-started/sdk.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
