# Trouble flashing firmware - first time

**URL:** <https://community.keyboard.io/t/trouble-flashing-firmware-first-time/4821>\
**Category:** Programming\
**Created:** [June 1, 2021, 9:15pm UTC](https://community.keyboard.io/t/trouble-flashing-firmware-first-time/4821 "2021-06-01T21:15:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Rom1deTroyes](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/rom1detroyes/32/3352_2.png) [@Rom1deTroyes](https://community.keyboard.io/u/Rom1deTroyes)\
**Post date:** [June 1, 2021, 9:48pm UTC](https://community.keyboard.io/t/trouble-flashing-firmware-first-time/4821/2 "2021-06-01T21:48:26Z")

</div>

Method 1 is slightly longer than just `make flash` :

```auto
$ mkdir ${HOME}/git
$ cd ${HOME}/git
$ git clone https://github.com/keyboardio/Kaleidoscope
$ cd ${HOME}/git/Kaleidoscope
$ # Ask Kaleidoscope to install the compiler toolchain, arduino-cli and platform support
$ make setup
$ export KALEIDOSCOPE_DIR=${HOME}/git/Kaleidoscope
$ cd examples/Devices/Keyboardio/Model01
$ make compile
$ make flash

```

For the persist the Kaleidoscope installation directory, you may add it to your shell rc :

```auto
$ echo "export KALEIDOSCOPE_DIR=${HOME}/git/Kaleidoscope" >> ${HOME}/.bash_profile

```

I don’t use the Adruino IDE, so can’t tell about the other method, but in memories they are incompatible (I don’t remember exactly why).

Hopes it helps !

---

_[View the full topic](https://community.keyboard.io/t/trouble-flashing-firmware-first-time/4821)._
