CubeDocs

Files and terminals

Browse your machine's files, open terminals and agents, and arrange them in panes.

Backend

Cloud

ReposAgentsMachine
cube-web
Pricing calculatorpricing
Fix OAuth retryfix-oauth
npm run devvite
Cube — Pricing
api2
design-system1
Unscoped
~zsh
Localhost ports: cloud → local
  • Cube — Pricing5173→5173
Show 2 other ports
cube-web
src
components
Calculator.tsx
Pricing.tsx
lib
public
README.md
package.json
vite.config.ts
Pricing.tsx
1 import { Calculator } from './Calculator'; 2 3 export function Pricing() { 4 return ( 5 <section id="pricing"> 6 <h2>Pricing</h2> 7 <Calculator /> 8 </section> 9 ); 10 }
npm run dev
~/repos/cube-web main $ npm run dev VITE v7.3.1 ready in 312 ms ➜ Local: http://localhost:5173/ ➜ press h + enter to show help
A file tree, a file and a terminal side by side on one screen.

Browse files

Choose Browse files in a machine's title row to open your home folder, or hover a repository and choose Browse files to open that repository. The file tree opens as a pane.

Click a file to open it in a pane beside the tree:

  • Markdown and text files open in a rich editor.
  • Code opens in a code editor.
  • Images, PDFs and HTML files open as previews.

Right-click a file or folder for New File, New Folder, Download…, Open as pane, Rename, Delete, Copy Filepath, and New terminal or New agent there. A folder's + adds a New Note or Import Web Article. The sort menu orders by created, modified or name.

To upload, drag files from Finder onto a folder in the tree.

Open a terminal

To openDo this
Your default agent, in a repositorySelect the repository and press ⌘ N.
A particular agentHover a repository and choose New agent…, or File → New agent.
A shell in a repositoryHover it and choose New terminal here.
A shell in your home folderChoose New terminal in the machine's title row.

In a terminal, ⌘-click a file path or URL to open it. Drop a file or paste an image into a terminal on your machine and Cube uploads it, then types its path for you.

Terminals keep running

Your machine runs every terminal, not the app. Agents keep working after you quit Cube, and any device you open Cube on reattaches to them.

  • ⌘ W hides a pane. The terminal keeps running and stays in the sidebar.
  • To end a terminal, choose Close from its menu in the sidebar. Cube asks first: This ends the terminal session.

Arrange panes

A screen is columns of panes stacked on top of each other. New panes find a place on their own.

  • Drag a pane's header to move it, or drag the dividers to resize.
  • ⇧ ⌘ ↵ expands a pane; press it again to put it back.
  • ⌥ ⌘ + arrows moves focus between panes.
  • ⇧ ⌥ ⌘ + arrows moves the focused pane.

On this page