1KITTY(1) kitty KITTY(1)
2
3
4
6 kitty - kitty Documentation
7
8 kitty [options] [program-to-run ...]
9
10 Run the kitty terminal emulator. You can also specify the program to
11 run inside kitty as normal arguments following the options. For exam‐
12 ple: kitty sh -c "echo hello, world. Press ENTER to quit; read"
13
14 For comprehensive documentation for kitty, please see:
15 https://sw.kovidgoyal.net/kitty/
16
18 --class <CLS>
19 Set the class part of the WM_CLASS window property. On Wayland,
20 it sets the app id. Default: kitty
21
22 --name <NAME>
23 Set the name part of the WM_CLASS property (defaults to using
24 the value from kitty --class)
25
26 --title <TITLE>, -T <TITLE>
27 Set the window title. This will override any title set by the
28 program running inside kitty. So only use this if you are run‐
29 ning a program that does not set titles. If combined with kitty
30 --session the title will be used for all windows created by the
31 session, that do not set their own titles.
32
33 --config <CONFIG>, -c <CONFIG>
34 Specify a path to the configuration file(s) to use. All configu‐
35 ration files are merged onto the builtin kitty.conf, overriding
36 the builtin values. This option can be specified multiple times
37 to read multiple configuration files in sequence, which are
38 merged. Use the special value NONE to not load a config file.
39
40 If this option is not specified, config files are searched for
41 in the order: $XDG_CONFIG_HOME/kitty/kitty.conf, ~/.con‐
42 fig/kitty/kitty.conf, $XDG_CONFIG_DIRS/kitty/kitty.conf. The
43 first one that exists is used as the config file.
44
45 If the environment variable KITTY_CONFIG_DIRECTORY is specified,
46 that directory is always used and the above searching does not
47 happen.
48
49 If /etc/xdg/kitty/kitty.conf exists it is merged before (i.e.
50 with lower priority) than any user config files. It can be used
51 to specify system-wide defaults for all users.
52
53 --override <OVERRIDE>, -o <OVERRIDE>
54 Override individual configuration options, can be specified mul‐
55 tiple times. Syntax: name=value. For example: kitty -o
56 font_size=20
57
58 --directory <DIRECTORY>, -d <DIRECTORY>
59 Change to the specified directory when launching Default: .
60
61 --detach
62 Detach from the controlling terminal, if any
63
64 --session <SESSION>
65 Path to a file containing the startup session (tabs, windows,
66 layout, programs). Use - to read from STDIN. See the README file
67 for details and an example.
68
69 --watcher <WATCHER>, -w <WATCHER>
70 Path to a python file. Appropriately named functions in this
71 file will be called for various events, such as when the window
72 is resized, focused or closed. See the section on watchers in
73 the launch command documentation launch. Relative paths are
74 resolved relative to the kitty config directory. Note that this
75 watcher will be added only to all initially created windows, not
76 new windows created after startup.
77
78 --hold Remain open after child process exits. Note that this only
79 affects the first window. You can quit by either using the close
80 window shortcut or Ctrl+d.
81
82 --single-instance, -1
83 If specified only a single instance of kitty will run. New invo‐
84 cations will instead create a new top-level window in the exist‐
85 ing kitty instance. This allows kitty to share a single sprite
86 cache on the GPU and also reduces startup time. You can also
87 have separate groups of kitty instances by using the kitty
88 --instance-group option
89
90 --instance-group <INSTANCE_GROUP>
91 Used in combination with the kitty --single-instance option. All
92 kitty invocations with the same kitty --instance-group will
93 result in new windows being created in the first kitty instance
94 within that group
95
96 --wait-for-single-instance-window-close
97 Normally, when using --single-instance, kitty will open a new
98 window in an existing instance and quit immediately. With this
99 option, it will not quit till the newly opened window is closed.
100 Note that if no previous instance is found, then kitty will wait
101 anyway, regardless of this option.
102
103 --listen-on <LISTEN_ON>
104 Tell kitty to listen on the specified address for control mes‐
105 sages. For example, kitty --listen-on=unix:/tmp/mykitty or kitty
106 --listen-on=tcp:localhost:12345. On Linux systems, you can also
107 use abstract UNIX sockets, not associated with a file, like
108 this: kitty --listen-on=unix:@mykitty. Environment variables in
109 the setting are expanded and relative paths are resolved with
110 respect to the temporary directory. To control kitty, you can
111 send it commands with kitty @ using the kitty @ --to option to
112 specify this address. This option will be ignored, unless you
113 set allow_remote_control to yes in kitty.conf. Note that if you
114 run kitty @ within a kitty window, there is no need to specify
115 the --to option as it is read automatically from the environ‐
116 ment. For UNIX sockets, this can also be specified in
117 kitty.conf.
118
119 --start-as <START_AS>
120 Control how the initial kitty window is created. Default: nor‐
121 mal Choices: fullscreen, maximized, minimized, normal
122
123 Debugging options
124 --version, -v
125 The current kitty version
126
127 --dump-commands
128 Output commands received from child process to stdout
129
130 --replay-commands <REPLAY_COMMANDS>
131 Replay previously dumped commands. Specify the path to a dump
132 file previously created by --dump-commands. You can open a new
133 kitty window to replay the commands with:
134
135 kitty sh -c "kitty --replay-commands /path/to/dump/file; read"
136
137 --dump-bytes <DUMP_BYTES>
138 Path to file in which to store the raw bytes received from the
139 child process
140
141 --debug-gl, --debug-rendering
142 Debug rendering commands. This will cause all OpenGL calls to
143 check for errors instead of ignoring them. Also prints out mis‐
144 cellaneous debug information. Useful when debugging rendering
145 problems
146
147 --debug-keyboard
148 This option will cause kitty to print out key events as they are
149 received
150
151 --debug-font-fallback
152 Print out information about the selection of fallback fonts for
153 characters not present in the main font.
154
155 --debug-config
156 Print out information about the system and kitty configuration.
157
159 Kovid Goyal
160
162 2020, Kovid Goyal
163
164
165
166
1670.19.3 Dec 19, 2020 KITTY(1)