Dev Tools
Terminal
Use your own shell inside Luvin, in the folder of your workspace or collection. Desktop app only.
The Terminal tab opens your system shell inside Luvin, so you can run git, curl or any command without leaving the app. It exists only in the desktop app. In the browser, the tab is not there.
Example: see what changed
Section titled “Example: see what changed”From the collection menu choose Open in Terminal. Dev Tools opens on Terminal, in that folder:
git statusgit diff pokemon.arazzo.yamlOpen a terminal
Section titled “Open a terminal”There are two ways.
From Dev Tools:
- Click Dev Tools in the bottom bar.
- Click the Terminal tab. A first session starts.
The session opens in the folder of the open workspace.
From a collection, to start in its folder:
- Open the ⋯ menu of the collection in the sidebar, or the Location card of the collection overview.
- Choose Open in Terminal.
Dev Tools opens on the Terminal tab with a new session in that folder. The menu Collection options of the sidebar has the same action for the workspace folder.
The shell is the one of your system: the one in your SHELL variable (/bin/zsh if there is none) on macOS and Linux, and PowerShell on Windows. It starts as a login shell, so your usual profile and prompt load.
Work with several sessions
Section titled “Work with several sessions”The list of sessions is on the right of the terminal.
| To do this | Do this |
|---|---|
| Start another session | Click + (New terminal) at the top of the panel. |
| Switch session | Click its name in the list. |
| Rename a session | Double-click its name, type the new one and press Enter. Esc cancels. |
| Close a session | Click the trash icon of its row (Kill terminal), or type exit in the shell. |
| Clear the screen | Click Clear at the top of the panel. It acts on the session you see. |
A session is named after its shell and a number, for example zsh 1. Next to the name, the list shows the name of its folder. The top bar of the panel shows the full folder of the session you see.
Sessions stay alive when you change tab or close the panel, and the command in them keeps running. They end when you close them, when the shell exits, or when you quit Luvin. When the shell exits, for example after exit, the session leaves the list. With no sessions left, the panel says No open terminals and offers New terminal.
If the terminal cannot start, the panel says Couldn’t open the terminal, shows the reason and offers Retry.
Limits
Section titled “Limits”- Desktop app only. There is no terminal in the browser version.
- Not in the Simple interface. The Open in Terminal actions are disabled with not in simple mode. See Dev Tools.
- Your permissions. It is a normal shell: a command can do what you can do. Luvin does not limit what you type.
- Folders. Only a workspace folder, one of its collections, or your home folder. This keeps the terminal away from other places when it opens.
- History on screen. The terminal keeps the last 5000 lines of output.
- Nothing is restored. If you quit Luvin, the sessions end. They do not come back when you open the app again.
- The theme follows the app. Light and dark change the colors of the terminal. For prompts with icons, install a Nerd Font (for example MesloLGS NF): Luvin uses it if it finds it.