CotEditor

CotEditor Project · Free native Mac plain-text editor with syntax highlighting, encoding tools, folder search and scriptable text workflows.

Cask寫作與筆記自帶更新Apple 晶片 · Intel
主頁
來自 homebrew/cask
近 30 天安裝
1,568
App榜第 166
近一年安裝
1.7萬
365 天累計
最新版本
7.1.2
10月12日 · 10月12日
下載大小
27MB
arm64 / x86_64 · dmg
更新節奏
每兩週
近 30 天 2 個版本

CotEditor 是一款寫作與筆記類 Mac 應用。開發者是 CotEditor Project。

基本資訊

晶片
Apple 晶片 · Intel
開發者
CotEditor Project
安裝命令
brew install --cask coteditor
Homebrew
可以安裝,應用會自行更新
其他名稱
coteditor

以上資訊最早核查於 。檢視各項來源

介紹

CotEditor is a free, native macOS plain-text editor for source code, configuration files, markup and everyday text. It provides syntax highlighting, document outlines, line numbers, character information, split editing, regular-expression find and replace, and tools for text encodings and line endings. It edits the text itself rather than producing a rich-text layout like a word processor.

Editing text and folders

Open a text file or folder, choose a syntax and inspect the text in one or more views. Folder search in7.1 can search across files in an open folder. Modes let you select indentation style and width for different workflows. The editor supports conversion of line endings and encodings, with tools to inspect characters and identify text that cannot be represented in an encoding. Verify the result when converting files used by another program; an encoding or line-ending change can affect compatibility.

Find and replace supports regular expressions and reusable replacement definitions. Use the appropriate scope and review matches before Replace All, especially across important files. CotEditor is a text editor, not a full IDE, compiler or debugger; editing a script does not install its language runtime or dependencies.

Installation and compatibility

CotEditor7.1.1 requires macOS26 Tahoe or later and runs natively on Intel x86-64 and Apple Silicon ARM64. Its direct-download DMG is26,594,816 bytes before installed storage. Copy the app from the DMG to Applications and open it. The7.0.9 historical release requires macOS15+, but that does not change the current7.1 requirement.

The direct download is free and needs no CotEditor account, subscription or activation. The Mac App Store is another distribution route and uses the usual Apple Account requirements. The direct-download edition uses Sparkle for updates; the App Store edition follows App Store updating. Document access is sandboxed and based on user-selected files and folders, so provide access through the app's supported file-opening workflow rather than assuming it can freely modify every protected path.

Scripts and automation

CotEditor supports scripts from its Script menu, including AppleScript and executable UNIX scripts. A UNIX script can receive selected text or document content through standard input and return output to the editor. Scripts require an available interpreter and must use an appropriate file extension and executable permissions.

Python scripts need a compatible Python interpreter installed separately. The official guide supports a shebang such as /usr/bin/env python3, but warns that CotEditor's PATH can differ from the Terminal shell's PATH. Specify an absolute interpreter path when a particular environment is required. The editor does not promise a bundled Python runtime or universal compatibility with every package environment. Run only trusted automation: scripts can change document content and perform other operations within their available permissions.

Saving and recovery

CotEditor provides macOS-style automatic saving and recovery mechanisms for editing work, but these are not independent backups. Saving, replacing text or running a script can change the actual document. Keep version control or separate backups for important files and review converted or rewritten documents before using them elsewhere.

License and cost

CotEditor is free and open source. Its current source-code license is Apache License2.0, while image resources have a separate Creative Commons Attribution-NonCommercial-NoDerivatives4.0 license. The source license is not a blanket license to reuse every project graphic. There is no required paid plan for the editor.

Official sources: CotEditor, Source and requirements, 7.1.1 release, UNIX scripting guide, License.

CotEditor 的價格與購買方式

OpenNavo 按地區、版本和計費週期記錄核查過的價格,並註明來源和日期;不記錄歷史價格,也不判斷是否最低。

版本價格地區購買渠道核查日期
—免費下載 · US$0.00 這是 App Store 版的下載價格,不代表可以免費使用;應用內購買和訂閱不在其中。美國Mac App Storeapps.apple.com/us/app/coteditor/id1024640650?mt=12截至 可能已變化

系統要求

macOS應用版本晶片下載來源
適用於 macOS 27, 26 的版本7.1.2Intelgithub.com/coteditor/CotEditor/releases/download/7.1.2/CotEditor_7.1.2.dmgSHA-256 ee9bd48a0c923f046509798cf87422207e47d30077ecb6cdf2737a8f2d88a626Homebrew核查於
適用於 macOS 27, 26 的版本7.1.2Apple 晶片github.com/coteditor/CotEditor/releases/download/7.1.2/CotEditor_7.1.2.dmgSHA-256 ee9bd48a0c923f046509798cf87422207e47d30077ecb6cdf2737a8f2d88a626Homebrew核查於
適用於 macOS 15 的版本7.0.9Intelgithub.com/coteditor/CotEditor/releases/download/7.0.9/CotEditor_7.0.9.dmgSHA-256 b1cd481dd8f1271ffc7478dcc65d7e3a1f17893a3bc1f4afa38a9a93beaf5877Homebrew核查於
適用於 macOS 15 的版本7.0.9Apple 晶片github.com/coteditor/CotEditor/releases/download/7.0.9/CotEditor_7.0.9.dmgSHA-256 b1cd481dd8f1271ffc7478dcc65d7e3a1f17893a3bc1f4afa38a9a93beaf5877Homebrew核查於
適用於 macOS 14 的版本5.2.3Intelgithub.com/coteditor/CotEditor/releases/download/5.2.3/CotEditor_5.2.3.dmgSHA-256 c01fa87e31d7aafd475f72bb41a340e1e34db27cc8afb73ba2f5e2ad316739a9Homebrew核查於
適用於 macOS 14 的版本5.2.3Apple 晶片github.com/coteditor/CotEditor/releases/download/5.2.3/CotEditor_5.2.3.dmgSHA-256 c01fa87e31d7aafd475f72bb41a340e1e34db27cc8afb73ba2f5e2ad316739a9Homebrew核查於
適用於 macOS 13 的版本4.8.7Intelgithub.com/coteditor/CotEditor/releases/download/4.8.7/CotEditor_4.8.7.dmgSHA-256 9c439ace99d6b74cf94738d24368ccc39c579902c7062f8e107c596061a58ddaHomebrew核查於
適用於 macOS 13 的版本4.8.7Apple 晶片github.com/coteditor/CotEditor/releases/download/4.8.7/CotEditor_4.8.7.dmgSHA-256 9c439ace99d6b74cf94738d24368ccc39c579902c7062f8e107c596061a58ddaHomebrew核查於
適用於 macOS 12 的版本4.5.9Intelgithub.com/coteditor/CotEditor/releases/download/4.5.9/CotEditor_4.5.9.dmgSHA-256 fa3e4a1fdf7edfc109c5588292906d864d430d2e8bd3d84161b1f0a7892163f6Homebrew核查於
適用於 macOS 12 的版本4.5.9Apple 晶片github.com/coteditor/CotEditor/releases/download/4.5.9/CotEditor_4.5.9.dmgSHA-256 fa3e4a1fdf7edfc109c5588292906d864d430d2e8bd3d84161b1f0a7892163f6Homebrew核查於
適用於 macOS 11 的版本4.3.6Intelgithub.com/coteditor/CotEditor/releases/download/4.3.6/CotEditor_4.3.6.dmgSHA-256 8c1ecf6fd66a9885d428a6303d9d1c5ecb811c1c35c97bdbccdad72359d96ad9Homebrew核查於
適用於 macOS 11 的版本4.3.6Apple 晶片github.com/coteditor/CotEditor/releases/download/4.3.6/CotEditor_4.3.6.dmgSHA-256 8c1ecf6fd66a9885d428a6303d9d1c5ecb811c1c35c97bdbccdad72359d96ad9Homebrew核查於

如何在 Mac 上安裝 CotEditor

  1. 在「終端機」中執行: brew install --cask coteditor
  2. Homebrew 會把應用安裝到「應用程式」資料夾。

不用 Homebrew 安裝

直接下載 Homebrew 使用的同一個檔案: github.com/coteditor/CotEditor/releases/download/7.1.2/CotEditor_7.1.2.dmg

SHA-256 只用來核對下載的檔案是否完整,不代表安全認證。 檢視 SHA-256 和下載網址

解除安裝 CotEditor 與可選的資料清理

解除安裝命令
brew uninstall --cask coteditor

普通解除安裝會刪除應用本身,設定和快取會保留。

深度清理(可選)

解除安裝命令
brew uninstall --zap --cask coteditor

--zap 還會刪除 Homebrew 定義裡列出的設定、快取等檔案,其中可能有其他應用共用的資料,刪除後無法恢復;它也不保證沒有任何殘留。請先備份需要保留的資料;如要保留設定和快取,請不要加 --zap。

CotEditor 可能留在 Mac 上的檔案(8)
檔案和資料夾
~/Library/Application Scripts/com.coteditor.CotEditor
~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.coteditor.coteditor.sfl*
~/Library/Caches/com.apple.helpd/Generated/com.coteditor.CotEditor.help*
~/Library/Caches/com.apple.helpd/SDMHelpData/Other/English/HelpSDMIndexFile/com.coteditor.CotEditor.help*
~/Library/Caches/com.apple.helpd/SDMHelpData/Other/Japanese/HelpSDMIndexFile/com.coteditor.CotEditor.help*
~/Library/Caches/com.coteditor.CotEditor
~/Library/Containers/com.coteditor.CotEditor
~/Library/Preferences/com.coteditor.CotEditor.plist

以上條目來自 Homebrew 定義,核查於 ;它們只說明定義宣告會刪除什麼,不代表你的 Mac 上都有。

7.1.2 更新內容

新版本 · OpenNavo 編輯

這個版本沒有單獨的更新說明。

CotEditor 的安全事實

這裡只列可以核驗的事實,並註明來源和日期,不是安全認證。要檢查你下載的檔案,可以用 OpenNavo 在本機掃描。

分發渠道
Homebrew
用 OpenNavo 掃描會在 OpenNavo 用戶端中開啟掃描預覽,由你決定是否開始。 瞭解安全防護

安裝細節

來源倉庫
homebrew/cask
附帶命令
cot
下載網址
https://github.com/coteditor/CotEditor/releases/download/7.1.2/CotEditor_7.1.2.dmg
SHA-256
ee9bd48a0c923f046509798cf87422207e47d30077ecb6cdf2737a8f2d88a626
Homebrew 定義檔案
github.com/homebrew/homebrew-cask/blob/HEAD/Casks/c/coteditor.rb
formulae.brew.sh
formulae.brew.sh/cask/coteditor
原始碼
github.com/coteditor/CotEditor

安裝與解除安裝內容

  • 解除安裝 uninstall

    檢視完整宣告
    {
      "uninstall": [
        {
          "quit": "com.coteditor.CotEditor"
        }
      ]
    }
  • 安裝 app

    來源檔案: CotEditor.app

    宣告的目標位置: /Applications/CotEditor.app

    檢視完整宣告
    {
      "app": [
        "CotEditor.app"
      ],
      "target": "/Applications/CotEditor.app"
    }
  • 安裝 binary

    來源檔案: $APPDIR/CotEditor.app/Contents/SharedSupport/bin/cot

    宣告的目標位置: $HOMEBREW_PREFIX/bin/cot

    檢視完整宣告
    {
      "binary": [
        "$APPDIR/CotEditor.app/Contents/SharedSupport/bin/cot"
      ],
      "target": "$HOMEBREW_PREFIX/bin/cot"
    }
  • 清理使用者資料 zap

    檢視完整宣告
    {
      "zap": [
        {
          "trash": [
            "~/Library/Application Scripts/com.coteditor.CotEditor",
            "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.coteditor.coteditor.sfl*",
            "~/Library/Caches/com.apple.helpd/Generated/com.coteditor.CotEditor.help*",
            "~/Library/Caches/com.apple.helpd/SDMHelpData/Other/English/HelpSDMIndexFile/com.coteditor.CotEditor.help*",
            "~/Library/Caches/com.apple.helpd/SDMHelpData/Other/Japanese/HelpSDMIndexFile/com.coteditor.CotEditor.help*",
            "~/Library/Caches/com.coteditor.CotEditor",
            "~/Library/Containers/com.coteditor.CotEditor",
            "~/Library/Preferences/com.coteditor.CotEditor.plist"
          ]
        }
      ]
    }

關於 CotEditor 的常見問題

CotEditor 安全嗎?

CotEditor 收錄在 Homebrew 官方軟體庫中,沒有被停用。自 2026 年 9 月起,Homebrew 會停用沒有通過 macOS Gatekeeper 檢查的應用。安裝時,Homebrew 會用 SHA-256 校驗值核對來自 github.com 的安裝檔。過去 30 天,它透過 Homebrew 安裝了 1,568 次。

如何在 Mac 上徹底解除安裝 CotEditor?

執行 brew uninstall --cask coteditor。它會退出應用。要連設定和快取一起刪除,執行 brew uninstall --zap --cask coteditor。--zap 還會刪除 Homebrew 定義裡列出的設定、快取等檔案,其中可能有其他應用共用的資料,刪除後無法恢復;它也不保證沒有任何殘留。請先備份需要保留的資料;如要保留設定和快取,請不要加 --zap。這會再刪除 8 處檔案和資料夾,包括 ~/Library/Containers/com.coteditor.CotEditor。

CotEditor 支援 Apple 晶片(M1 及更新)的 Mac 嗎?

Apple 晶片和 Intel 晶片的 Mac 都能用 Homebrew 安裝,兩者使用同一個安裝檔。

CotEditor 支援中文嗎?

Mac App Store 頁面列出的介面語言包括中文。來源:apps.apple.com,核查於 10月14日。

CotEditor 的設定和資料儲存在哪裡?

設定儲存在 ~/Library/Preferences/com.coteditor.CotEditor.plist。資料儲存在 ~/Library/Containers/com.coteditor.CotEditor。這些位置來自 Homebrew 的清理清單。

CotEditor 的最新版本是多少?

最新版本是 7.1.2,Homebrew 收錄於 10月12日。CotEditor 會自動更新;想用 Homebrew 更新時,執行 brew upgrade --cask --greedy coteditor。

安裝 CotEditor 還會裝上什麼?

還會裝上 1 個命令列工具:cot。

來源

頁面上的每項資料都註明來源和核查日期;過期的資料只寫「截至」某日,不再當作當前事實。