Opening a Lair creates a new Unix terminal session connected to the remote instance of your Lair’s file system. You can use standard
bashcommands to navigate the file system or execute processes.
The terminal is located on the bottom of your Lair editor. On initialization, your terminal’s current directory will be your Lair’s root directory.
You can use your Lair’s terminal is to execute processes, create files and directories, and much more. For example, you can run a Python file in your Lair directory.
# Terminal connected to my-lair-a
~/my-lair-a $ python my-file.py
- Pressing ▶ on a code file will enter the respective default run command, e.g.
python my-file.py, into the Lair terminal.
- Terminal sessions use independent containerized environments, so changes made to the environment will not persist across sessions or within your Lair environment. For example, installed Python libraries (through
pip) will be discarded on session close. However, you can use standard
package.jsondependency files to load packages on session start; see Hosted environments for more details.
- The Lair terminal currently does not render terminal programs or abstractions such as
vim. Please use these at your own risk.