I have a Teensy 2.0 and a laptop running Ubuntu 16.04
I started to Install the standard Arduino ide but it doesn’t support teensy out of the box.
I found a nice guide to add the teensy as an addon to the arduino studio but it took me to much time to start and reconfigure it, so I googled and found the PlatformIO
PlatformIO is based on github atom ide
In Atom :
<span class="pre">Menu:</span> <span class="pre">Edit</span> <span class="pre">></span> <span class="pre">Preferences</span> <span class="pre">></span> <span class="pre">Install</span>
search fo : platformio-ide

and you can start working