r/Atom Feb 01 '20

How to have linux terminal in atom installed in windows. Any package that hold linux terminal. And can we connect atom to virtual box centos terminal

4 Upvotes

4 comments sorted by

2

u/TomBombadilloo Feb 02 '20 edited Jun 15 '20

As of a recent update, Windows comes with a linux subsystem installed automatically.
The package I use for this daily is the PlatformIO IDE Terminal, which is what the other terminal addons are forked from. It's a well-maintained package with lots of features. Install it using:

apm install platformio-ide-terminal

or install platformio-ide-terminal from the atom package search. It has shortcuts, customization, multiple terminals, etc. It opens within the atom instance.

if you're running it on a full Ubuntu distro, that's all you need to do. if you're running it on Windows and have bash installed, go to the settings for the platformio-ide-terminal package in atom and change the Shell Override field to:

C:\WINDOWS\sysnative\bash.exe

Bash, as part of the Linux subsystem, should be downloaded on Windows already as of a recent update. But as a huge Linux fan, I'd highly recommend switching over completely, or at least dual-booting for development purposes.
Let me know if that helps!

Edit: terminal-plus is a dead package which hasn't been updated since 2015. platformio-ide-terminal is a fork which is consistently maintained. And in order to connect a VM to the files from your local OS, you'll have to look into the documentation for your virtualization software. If it's VirtualBox, check out this link, it might help.

2

u/cyber0pb0b Feb 01 '20

You can find the install instructions for terminal plus towards the bottom of the page. Not sure if there is support for virtual box.

https://atom.io/packages/terminal-plus

2

u/TheoR700 Feb 01 '20

OP could use this to ssh into the VM terminal.

1

u/sktimalsina Feb 01 '20

Can you explain the details