All posts

Choose the folder where Tarsk puts your code

A new Workspace Path setting lets you keep new projects and chat workspaces in a folder you pick, such as ~/code.

Clone a repo with Tarsk, then try to find it in Finder. Until now the answer was a hidden application folder next to the Tarsk database, several levels deep under Library. You could open the code from Tarsk, but your editor, your terminal and your backup tool had to dig for it. The new Workspace Path setting lets you pick that folder yourself.

Where to set it

You meet the setting twice:

  • On the first onboarding page, under the Git check. The row reads Tarsk creates new projects in this folder.
  • In Settings > General, under Workspace Path, any time after that.

The row shows the current folder. Hover over it for the full path. Click the … button (tooltip Change workspace path) to change it. In the desktop app, Tarsk opens the system folder picker. In the browser, you type the path into a text field and click Save. A path that starts with ~ works, so ~/code is fine.

If you changed the path and want the old one back, click Reset to default in Settings.

What goes there

Everything Tarsk creates for your code goes to the workspace path:

  • new projects, from a Git repo, a blank starter or a zip
  • the workspace folder that each new chat works in
  • clones that Tarsk makes when you start a chat on a remote machine

The database, attachments and other internal data stay in the Tarsk data folder. The change takes effect at once, for the next project you create, without a restart.

What does not move

Existing projects stay where they are. Tarsk does not copy or move them when you change the path. If you want an old project in the new folder, create it again there.

A folder that you open with Open Folder stays your folder. Tarsk keeps a list of the folders it created itself, and when you delete a project it removes only the folders on that list. Your own folders in the workspace path stay on disk.

Folders Tarsk rejects

Tarsk checks the path before it saves it. It shows an error and keeps the old path when:

  • the path points to a file
  • the path is relative; use a full path such as ~/Tarsk or /Users/me/code
  • the folder is inside a Git repository, because new project clones would then sit inside another repo
  • Tarsk cannot create the folder or cannot write to it

If the folder does not exist yet, Tarsk creates it.

Try it

  • Open Settings > General and set Workspace Path to a folder such as ~/code.
  • Create a project and find it in Finder or File Explorer under that folder.
  • Click Reset to default to go back to the old location.

Get Tarsk at tarsk.io.