# Twine

Create interactive, nonlinear stories without code, then publish them directly to HTML.

> This is the Markdown version of the Twine page on OpenNavo, with the same facts as the web page: <https://opennavo.com/apps/twine-app>

- **Latest version**: `2.12.1`
- **Developer**: Chris Klimas
- **Homepage**: <https://twinery.org/>
- **Categories**: [Writing & Notes](https://opennavo.com/categories/writing)
- **Install**: `brew install --cask twine-app`
- **30-day installs**: 101
- **Homebrew**: Available; updated by Homebrew
- **Former tokens**: twine
- **Download URL**: <https://github.com/klembot/twinejs/releases/download/2.12.1/Twine-2.12.1-macOS.dmg>
- **SHA-256**: `33de0146b3ac39db8746ed3bd670ff57ae47c75518d151f4276c08370a1edaab`

SHA-256 only checks that the download is complete; it is not a security certification.

## Installation and removal contents

```json
[
  {
    "declaration": {
      "app": [
        "Twine.app"
      ],
      "target": "/Applications/Twine.app"
    },
    "phase": "install",
    "sources": [
      "Twine.app"
    ],
    "target": "/Applications/Twine.app",
    "type": "app"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": [
            "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/org.twinery.twine.sfl*",
            "~/Library/Application Support/Twine",
            "~/Library/Logs/Twine",
            "~/Library/Preferences/org.twinery.twine.plist",
            "~/Library/Saved Application State/org.twinery.twine.savedState"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## About

Twine is an open-source desktop tool for creating interactive, nonlinear stories. You can make a simple story without writing code, then add more advanced elements as you become familiar with the tool.

- Build stories that let readers move through different paths.
- Extend stories with variables, conditional logic, images, CSS, and JavaScript.
- Choose a story format, which determines available features and how you write; built-in formats include Chapbook, Harlowe, Snowman, and SugarCube.
- Publish directly to HTML, so finished work can be posted in many places.
- The official site provides a reference for the interface and a cookbook with story-format examples.

Install the macOS desktop app with `brew install --cask twine-app`. The cask requires macOS 12 or later. After installation, open Twine from your Applications folder to start creating a story. Twine can also be used in a browser, but this Homebrew cask installs the desktop app. The official site says creations may be used freely, including commercially.

Sources: [Twine](https://twinery.org/) · [Homebrew cask](https://raw.githubusercontent.com/Homebrew/homebrew-cask/HEAD/Casks/t/twine-app.rb)

## System requirements

- macOS 12 or later · Version: 2.12.1 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/t/twine-app.rb> · Checked 2026-11-23
  - <https://github.com/klembot/twinejs/releases/download/2.12.1/Twine-2.12.1-macOS.dmg>
  - SHA-256: `33de0146b3ac39db8746ed3bd670ff57ae47c75518d151f4276c08370a1edaab`
- macOS 12 or later · Version: 2.12.1 · Apple silicon · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/t/twine-app.rb> · Checked 2026-11-23
  - <https://github.com/klembot/twinejs/releases/download/2.12.1/Twine-2.12.1-macOS.dmg>
  - SHA-256: `33de0146b3ac39db8746ed3bd670ff57ae47c75518d151f4276c08370a1edaab`

## Twine security facts

Only facts that can be checked, each with its source and date. This is not a safety certification. To check the files you downloaded, scan them on your Mac with OpenNavo.

- <https://github.com/klembot/twinejs> · Open source: Yes — <https://github.com/klembot/twinejs> · Checked 2026-11-13

## Uninstall

- `brew uninstall --cask twine-app`

A regular uninstall removes the app and keeps its settings and caches.

### Deep clean (optional)

- `brew uninstall --zap --cask twine-app`

`--zap` also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out `--zap`.

A regular uninstall removes the app and keeps its settings and caches.

- Files and folders: `~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/org.twinery.twine.sfl*` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/t/twine-app.rb> · These entries come from the Homebrew definition, checked 2026-11-23. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/Application Support/Twine` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/t/twine-app.rb> · These entries come from the Homebrew definition, checked 2026-11-23. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/Logs/Twine` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/t/twine-app.rb> · These entries come from the Homebrew definition, checked 2026-11-23. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/Preferences/org.twinery.twine.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/t/twine-app.rb> · These entries come from the Homebrew definition, checked 2026-11-23. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/Saved Application State/org.twinery.twine.savedState` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/t/twine-app.rb> · These entries come from the Homebrew definition, checked 2026-11-23. They say what it declares, not what is on your Mac.

## Latest release notes

### 2.12.1 (2026-10-07)

Updates Polish, Electron and Snowman; fixes a local-command-execution vulnerability, saving on focus loss, temporary directories and localized story counts.

- Updates the Polish translation.
- Updates the desktop app to Electron 43.
- Fixes a security issue where a maliciously crafted story could execute commands locally in desktop Twine. The official notes report no known cases affecting users at publication.
- Immediately saves pending passage-editor changes when the editor loses focus, so closing the app immediately afterward retains them.
- Stops creating extraneous temporary directories when saving stories.
- Fixes some localizations displaying one story when there are none.
- Updates Snowman to 2.1.3.

[Twine 2.12.1](https://twinery.org/reference/en/release-notes/2-12.html#2121)

## Facts and sources

- <https://opennavo.com/apps/twine-app>
- <https://opennavo.com/apps/twine-app/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/t/twine-app.rb> · Checked 2026-11-23
- <https://formulae.brew.sh/cask/twine-app>
- <https://github.com/klembot/twinejs> · Checked 2026-11-13
