1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Ghosttyは良いぞ

1
Last updated at Posted at 2025-10-16

TL;DR

  • WarpからGhosttyに乗り換えたら良かったという話
  • Warpも良いんですが、AIのサジェストが逆に邪魔だなと感じてきたので、変えたいなと
  • 個人的にはTab切り替えができることと、tmuxのように画面分割しておきたいくらい

Ghosttyとは?

Ghosttyは、Mitchell Hashimotoが開発するOSSのターミナルエミュレータで、設定なしでも快適に使える“Zero Configuration”思想が特徴です。macOSを中心に設計されており、UIの細部まで綺麗で、テーマやフォントが豊富にプリインストールされています。Zig言語で実装されており、軽快な描画とスムーズな操作感が評価されています。

インストール

homebrewでインストールできます。

zsh
brew install --cask ghostty

設定

画面はこんな感じ。

CleanShot 2025-10-16 at 17.22.41@2x.png

設定ファイルはこちら。

zsh
vi ~/.config/ghostty/config

設定内容は、まずはこれで始めています。
ayuというテーマが見やすくて気に入っています。

~/.config/ghostty/config
theme = ayu
window-padding-x = 20
macos-titlebar-style = transparent
background-opacity = 0.85
background-blur-radius = 20
window-padding-x = 20
window-padding-y = 20
window-padding-balance = true
shell-integration-features = ssh-terminfo,ssh-env
copy-on-select = "clipboard"

反映

以下のコマンドで設定を反映できます。

反映
Command + Shift + , 

GhosttyでSSH接続するとバックスペースが使えない問題の解消方法

GhosttyでEC2などにSSH接続すると、バックスペースがスペースになって文字が消せないという事象がありましたが、対応方法は、ここに書いてありました。

結論としては、以下のコマンドのように実行すればOKです。

コマンド例
infocmp -x xterm-ghostty | ssh -i "hogehoge.pem" <接続先> -- tic -x -

以降は、通常のssh接続のみでOKです。

コマンド例
ssh -i "hogehoge.pem" <接続先>
1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?