<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Commands on nux</title><link>https://drew-daniels.github.io/nux/docs/commands/</link><description>Recent content in Commands on nux</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://drew-daniels.github.io/nux/docs/commands/index.xml" rel="self" type="application/rss+xml"/><item><title>stop</title><link>https://drew-daniels.github.io/nux/docs/commands/stop/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://drew-daniels.github.io/nux/docs/commands/stop/</guid><description>&lt;h2 id="usage"&gt;Usage&lt;a class="anchor" href="#usage"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nux stop &amp;lt;session&amp;gt; [session ...]&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="description"&gt;Description&lt;a class="anchor" href="#description"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Stops one or more tmux sessions by name. You can pass multiple session arguments in a single invocation.&lt;/p&gt;
&lt;p&gt;Session names accept &lt;strong&gt;glob patterns&lt;/strong&gt; (for example &lt;code&gt;web+&lt;/code&gt; matches related session names) and &lt;strong&gt;group expansion&lt;/strong&gt; with the &lt;code&gt;@&lt;/code&gt; prefix (for example &lt;code&gt;@work&lt;/code&gt; expands to every session in that group).&lt;/p&gt;
&lt;h2 id="stop-all"&gt;stop-all&lt;a class="anchor" href="#stop-all"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nux stop-all&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Kills &lt;strong&gt;every&lt;/strong&gt; running tmux session. This is a blunt reset when you want no sessions left running. It is separate from &lt;code&gt;nux stop&lt;/code&gt; (which requires at least one session argument).&lt;/p&gt;</description></item><item><title>restart</title><link>https://drew-daniels.github.io/nux/docs/commands/restart/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://drew-daniels.github.io/nux/docs/commands/restart/</guid><description>&lt;h2 id="usage"&gt;Usage&lt;a class="anchor" href="#usage"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nux restart &amp;lt;target&amp;gt; [target ...]&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="description"&gt;Description&lt;a class="anchor" href="#description"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Stops each matching session, then starts it again so changes in the project config are picked up. By default, nux attaches to the &lt;strong&gt;last&lt;/strong&gt; restarted session.&lt;/p&gt;
&lt;p&gt;Targets support &lt;strong&gt;glob patterns&lt;/strong&gt; (&lt;code&gt;+&lt;/code&gt; matches any suffix, same as &lt;code&gt;nux&lt;/code&gt; and &lt;code&gt;nux stop&lt;/code&gt;), &lt;strong&gt;&lt;code&gt;@group&lt;/code&gt;&lt;/strong&gt; expansion from the global config, and multiple space-separated names.&lt;/p&gt;
&lt;p&gt;Use the &lt;strong&gt;&lt;code&gt;:window&lt;/code&gt;&lt;/strong&gt; suffix to restart one or more windows (comma-separated) inside a session without tearing down the rest.&lt;/p&gt;</description></item><item><title>show</title><link>https://drew-daniels.github.io/nux/docs/commands/show/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://drew-daniels.github.io/nux/docs/commands/show/</guid><description>&lt;h2 id="usage"&gt;Usage&lt;a class="anchor" href="#usage"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nux show &amp;lt;target&amp;gt; [target ...]&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="description"&gt;Description&lt;a class="anchor" href="#description"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Prints the fully resolved config for one or more projects as YAML. The output reflects the state after interpolation (&lt;code&gt;{{var}}&lt;/code&gt; substitution), environment expansion (&lt;code&gt;${VAR}&lt;/code&gt;), and root resolution - exactly what nux would use to build the session.&lt;/p&gt;
&lt;p&gt;Targets support &lt;strong&gt;glob patterns&lt;/strong&gt; (&lt;code&gt;+&lt;/code&gt;), &lt;strong&gt;&lt;code&gt;@group&lt;/code&gt;&lt;/strong&gt; expansion, and multiple space-separated names. Multiple projects are written as a &lt;strong&gt;YAML stream&lt;/strong&gt;: one document per project, separated by a &lt;code&gt;---&lt;/code&gt; line.&lt;/p&gt;</description></item><item><title>list</title><link>https://drew-daniels.github.io/nux/docs/commands/list/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://drew-daniels.github.io/nux/docs/commands/list/</guid><description>&lt;h2 id="usage"&gt;Usage&lt;a class="anchor" href="#usage"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nux list&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;Alias:&lt;/strong&gt; &lt;code&gt;nux ls&lt;/code&gt;&lt;/p&gt;
&lt;h2 id="description"&gt;Description&lt;a class="anchor" href="#description"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Lists all projects that have a config file under &lt;code&gt;~/.config/nux/projects/&lt;/code&gt;, along with their current status.&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Column&lt;/th&gt;
 &lt;th&gt;Meaning&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;NAME&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;Project name (derived from the config filename)&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;STATUS&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;running&lt;/code&gt; if a tmux session is active, &lt;code&gt;-&lt;/code&gt; otherwise&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;WINDOWS&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;Number of windows in the running session (blank if not running)&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;UPTIME&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;How long the session has been running (blank if not running)&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;CONFIG&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;project&lt;/code&gt; (all listed entries come from config files)&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;ROOT&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;The &lt;code&gt;root&lt;/code&gt; value from the project config, if set&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Only projects with explicit config files appear here. Convention-based projects (discovered via &lt;code&gt;project_dirs&lt;/code&gt; or zoxide) are not included unless they also have a config file.&lt;/p&gt;</description></item><item><title>config</title><link>https://drew-daniels.github.io/nux/docs/commands/config/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://drew-daniels.github.io/nux/docs/commands/config/</guid><description>&lt;h2 id="usage"&gt;Usage&lt;a class="anchor" href="#usage"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nux config&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="description"&gt;Description&lt;a class="anchor" href="#description"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Opens the global nux config in &lt;code&gt;$EDITOR&lt;/code&gt;. If the config file does not exist yet, a scaffold with commented examples is created first.&lt;/p&gt;
&lt;p&gt;The generated scaffold contains all available settings with sensible defaults. Optional settings are commented out with examples so you can enable them as needed.&lt;/p&gt;
&lt;h2 id="behavior"&gt;Behavior&lt;a class="anchor" href="#behavior"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;When no config exists:&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The config directory and &lt;code&gt;projects/&lt;/code&gt; subdirectory are created.&lt;/li&gt;
&lt;li&gt;A scaffold &lt;code&gt;config.yaml&lt;/code&gt; is written with default values, commented examples, and a &lt;a href="https://drew-daniels.github.io/nux/docs/configuration/editor-intellisense/"&gt;schema modeline&lt;/a&gt; for editor IntelliSense.&lt;/li&gt;
&lt;li&gt;nux prints &lt;code&gt;Created &amp;lt;path&amp;gt;&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;If &lt;code&gt;$EDITOR&lt;/code&gt; is set, the file is opened in your editor. Otherwise nux prints &lt;code&gt;hint: set $EDITOR to open new configs automatically&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;When a config already exists:&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>ps</title><link>https://drew-daniels.github.io/nux/docs/commands/ps/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://drew-daniels.github.io/nux/docs/commands/ps/</guid><description>&lt;h2 id="usage"&gt;Usage&lt;a class="anchor" href="#usage"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nux ps&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="description"&gt;Description&lt;a class="anchor" href="#description"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Shows currently running tmux sessions in a table.&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Column&lt;/th&gt;
 &lt;th&gt;Meaning&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;NAME&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;Session name&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;WINDOWS&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;Number of windows in the session&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;ATTACHED&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;yes&lt;/code&gt; if a client is attached, &lt;code&gt;no&lt;/code&gt; otherwise&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;UPTIME&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;How long the session has been running (e.g. &lt;code&gt;5m&lt;/code&gt;, &lt;code&gt;1h 32m&lt;/code&gt;)&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;If no sessions are running, nux prints &lt;code&gt;No running sessions.&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;This command shows all tmux sessions, not just those started by nux.&lt;/p&gt;
&lt;h2 id="example-output"&gt;Example output&lt;a class="anchor" href="#example-output"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;NAME WINDOWS ATTACHED UPTIME
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;blog 2 yes 5m
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;api 3 no 1h 32m
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;docs 1 no 45m&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="notes"&gt;Notes&lt;a class="anchor" href="#notes"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;For the full project catalog (including projects without a running session), use &lt;a href="https://drew-daniels.github.io/nux/docs/commands/list/"&gt;&lt;code&gt;nux list&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Uptime is rounded to the nearest minute.&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>new</title><link>https://drew-daniels.github.io/nux/docs/commands/new/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://drew-daniels.github.io/nux/docs/commands/new/</guid><description>&lt;h2 id="usage"&gt;Usage&lt;a class="anchor" href="#usage"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nux new &amp;lt;name&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="description"&gt;Description&lt;a class="anchor" href="#description"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Creates a new project config file at &lt;code&gt;~/.config/nux/projects/&amp;lt;name&amp;gt;.yaml&lt;/code&gt; and opens it in &lt;code&gt;$EDITOR&lt;/code&gt; if set.&lt;/p&gt;
&lt;p&gt;The generated config includes a &lt;a href="https://drew-daniels.github.io/nux/docs/configuration/editor-intellisense/"&gt;schema modeline&lt;/a&gt; for editor IntelliSense and a minimal template:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-yaml" data-lang="yaml"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c"&gt;# yaml-language-server: $schema=https://raw.githubusercontent.com/Drew-Daniels/nux/main/schemas/project.schema.json&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;windows&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;- &lt;span class="nt"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;editor&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Edit this file to define your windows, panes, commands, and other project settings.&lt;/p&gt;
&lt;h2 id="behavior"&gt;Behavior&lt;a class="anchor" href="#behavior"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;If a config for &lt;code&gt;&amp;lt;name&amp;gt;&lt;/code&gt; already exists, nux exits with an error (it will not overwrite).&lt;/li&gt;
&lt;li&gt;The config file is written to disk.&lt;/li&gt;
&lt;li&gt;nux prints &lt;code&gt;Created &amp;lt;path&amp;gt;&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;If &lt;code&gt;$EDITOR&lt;/code&gt; is set, nux opens the new file in your editor.&lt;/li&gt;
&lt;li&gt;If &lt;code&gt;$EDITOR&lt;/code&gt; is not set, nux prints &lt;code&gt;hint: set $EDITOR to open new configs automatically&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="errors"&gt;Errors&lt;a class="anchor" href="#errors"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;config already exists: &amp;lt;path&amp;gt;&lt;/code&gt;&lt;/strong&gt; - a file with that name already exists. Use &lt;code&gt;nux edit &amp;lt;name&amp;gt;&lt;/code&gt; to modify it, or &lt;code&gt;nux delete &amp;lt;name&amp;gt;&lt;/code&gt; to remove it first.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="examples"&gt;Examples&lt;a class="anchor" href="#examples"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Create and edit a new project config&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nux new blog
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Create without opening an editor (when $EDITOR is unset)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;unset&lt;/span&gt; EDITOR &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; nux new api&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="post-save-validation"&gt;Post-save validation&lt;a class="anchor" href="#post-save-validation"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;When the editor closes, nux re-loads and validates the config. Errors are printed as &lt;code&gt;[error]&lt;/code&gt; and a clean config prints &lt;code&gt;Config valid.&lt;/code&gt; If the YAML is unparseable, a syntax error warning is shown instead.&lt;/p&gt;</description></item><item><title>edit</title><link>https://drew-daniels.github.io/nux/docs/commands/edit/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://drew-daniels.github.io/nux/docs/commands/edit/</guid><description>&lt;h2 id="usage"&gt;Usage&lt;a class="anchor" href="#usage"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nux edit &amp;lt;name&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="description"&gt;Description&lt;a class="anchor" href="#description"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Opens the project config file for &lt;code&gt;&amp;lt;name&amp;gt;&lt;/code&gt; in your &lt;code&gt;$EDITOR&lt;/code&gt;. The file is located at &lt;code&gt;~/.config/nux/projects/&amp;lt;name&amp;gt;.yaml&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This is a convenience shortcut - equivalent to running &lt;code&gt;$EDITOR ~/.config/nux/projects/&amp;lt;name&amp;gt;.yaml&lt;/code&gt; yourself.&lt;/p&gt;
&lt;h2 id="errors"&gt;Errors&lt;a class="anchor" href="#errors"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;$EDITOR is not set&lt;/code&gt;&lt;/strong&gt; - set the &lt;code&gt;EDITOR&lt;/code&gt; environment variable in your shell profile (e.g. &lt;code&gt;export EDITOR=nvim&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;config not found: &amp;lt;path&amp;gt;&lt;/code&gt;&lt;/strong&gt; - no config file exists for that project name. Use &lt;code&gt;nux new &amp;lt;name&amp;gt;&lt;/code&gt; to create one first.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="examples"&gt;Examples&lt;a class="anchor" href="#examples"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Edit an existing project config&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nux edit blog
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Common EDITOR values&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;EDITOR&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;nvim &lt;span class="c1"&gt;# Neovim&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;EDITOR&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;vim &lt;span class="c1"&gt;# Vim&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;EDITOR&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;code &lt;span class="c1"&gt;# VS Code&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;EDITOR&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;nano &lt;span class="c1"&gt;# Nano&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="post-save-validation"&gt;Post-save validation&lt;a class="anchor" href="#post-save-validation"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;When the editor closes, nux re-loads and validates the config. Errors are printed as &lt;code&gt;[error]&lt;/code&gt; and a clean config prints &lt;code&gt;Config valid.&lt;/code&gt; If the YAML is unparseable, a syntax error warning is shown instead.&lt;/p&gt;</description></item><item><title>delete</title><link>https://drew-daniels.github.io/nux/docs/commands/delete/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://drew-daniels.github.io/nux/docs/commands/delete/</guid><description>&lt;h2 id="usage"&gt;Usage&lt;a class="anchor" href="#usage"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nux delete &amp;lt;name&amp;gt; [name ...]&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;Alias:&lt;/strong&gt; &lt;code&gt;nux del&lt;/code&gt;&lt;/p&gt;
&lt;h2 id="description"&gt;Description&lt;a class="anchor" href="#description"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Deletes one or more project config files. By default, nux prompts for confirmation before each deletion.&lt;/p&gt;
&lt;p&gt;This only removes config files at &lt;code&gt;~/.config/nux/projects/&amp;lt;name&amp;gt;.yaml&lt;/code&gt;. It does &lt;strong&gt;not&lt;/strong&gt; delete project directories, source code, or stop any running sessions.&lt;/p&gt;
&lt;p&gt;Supports &lt;a href="https://drew-daniels.github.io/nux/docs/guides/pattern-matching/"&gt;glob patterns&lt;/a&gt; with &lt;code&gt;+&lt;/code&gt; and &lt;a href="https://drew-daniels.github.io/nux/docs/configuration/session-groups/"&gt;group expansion&lt;/a&gt; with &lt;code&gt;@&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id="flags"&gt;Flags&lt;a class="anchor" href="#flags"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Flag&lt;/th&gt;
 &lt;th&gt;Meaning&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;--force&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Skip confirmation prompts&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="behavior"&gt;Behavior&lt;a class="anchor" href="#behavior"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Arguments are expanded (patterns and groups resolved to individual names).&lt;/li&gt;
&lt;li&gt;For each target, nux checks that the config file exists.&lt;/li&gt;
&lt;li&gt;Unless &lt;code&gt;--force&lt;/code&gt; is set, nux prompts: &lt;code&gt;Delete config for &amp;quot;&amp;lt;name&amp;gt;&amp;quot;? [y/N]&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;If confirmed, the file is deleted and nux prints &lt;code&gt;Deleted config for &amp;quot;&amp;lt;name&amp;gt;&amp;quot;&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;If declined, nux prints &lt;code&gt;Cancelled.&lt;/code&gt; and moves on to the next target.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="errors"&gt;Errors&lt;a class="anchor" href="#errors"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;config not found: &amp;lt;path&amp;gt;&lt;/code&gt;&lt;/strong&gt; - no config file exists for that project name.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="examples"&gt;Examples&lt;a class="anchor" href="#examples"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Delete with confirmation prompt&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nux delete old-project
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Delete without prompting&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nux delete old-project --force
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Delete multiple projects&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nux delete blog api docs
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Delete all projects matching a pattern&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nux del web+ --force
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Delete all projects in a group&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nux del @deprecated --force&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="notes"&gt;Notes&lt;a class="anchor" href="#notes"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;If a session for the deleted project is still running, it continues until stopped. Use &lt;code&gt;nux stop &amp;lt;name&amp;gt;&lt;/code&gt; first if you want to tear down the session.&lt;/li&gt;
&lt;li&gt;After deletion, the project can still start via convention (directory under any configured &lt;code&gt;project_dirs&lt;/code&gt; path) or zoxide, but without any custom config.&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>reset</title><link>https://drew-daniels.github.io/nux/docs/commands/reset/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://drew-daniels.github.io/nux/docs/commands/reset/</guid><description>&lt;h2 id="usage"&gt;Usage&lt;a class="anchor" href="#usage"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nux reset&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="description"&gt;Description&lt;a class="anchor" href="#description"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Removes the global nux config file so you can start fresh. Use &lt;code&gt;--projects&lt;/code&gt; to also remove all project config files.&lt;/p&gt;
&lt;p&gt;Before anything is deleted, a summary of what will be removed and what will be kept is printed.&lt;/p&gt;
&lt;h2 id="flags"&gt;Flags&lt;a class="anchor" href="#flags"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Flag&lt;/th&gt;
 &lt;th&gt;Meaning&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;--force&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Skip the confirmation prompt&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;--projects&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Also remove all project configs&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="behavior"&gt;Behavior&lt;a class="anchor" href="#behavior"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;nux checks that &lt;code&gt;config.yaml&lt;/code&gt; exists in the config directory.&lt;/li&gt;
&lt;li&gt;A preview of what will be removed and what will be kept is printed.&lt;/li&gt;
&lt;li&gt;Unless &lt;code&gt;--force&lt;/code&gt; is set, nux prompts for confirmation.&lt;/li&gt;
&lt;li&gt;The global config file is deleted.&lt;/li&gt;
&lt;li&gt;If &lt;code&gt;--projects&lt;/code&gt; is set, the &lt;code&gt;projects/&lt;/code&gt; directory and all its contents are also deleted.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Running tmux sessions are not affected by this command.&lt;/p&gt;</description></item><item><title>validate</title><link>https://drew-daniels.github.io/nux/docs/commands/validate/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://drew-daniels.github.io/nux/docs/commands/validate/</guid><description>&lt;h2 id="usage"&gt;Usage&lt;a class="anchor" href="#usage"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nux validate [name ...]&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="description"&gt;Description&lt;a class="anchor" href="#description"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Validates project configuration files and reports errors. Each config is printed with &lt;strong&gt;&lt;code&gt;[ok]&lt;/code&gt;&lt;/strong&gt; or &lt;strong&gt;&lt;code&gt;[error]&lt;/code&gt;&lt;/strong&gt;.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;With no arguments:&lt;/strong&gt; validates all project configs under &lt;code&gt;~/.config/nux/projects/&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;With one or more targets:&lt;/strong&gt; validates each expanded project. Targets support &lt;strong&gt;glob patterns&lt;/strong&gt; (&lt;code&gt;+&lt;/code&gt;), &lt;strong&gt;&lt;code&gt;@group&lt;/code&gt;&lt;/strong&gt; expansion, and multiple space-separated names (same rules as &lt;code&gt;nux&lt;/code&gt; / &lt;code&gt;nux stop&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="what-gets-checked"&gt;What gets checked&lt;a class="anchor" href="#what-gets-checked"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Every project must have at least one window with at least one pane.&lt;/li&gt;
&lt;li&gt;Every window must have a &lt;code&gt;name&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Every window must have at least one pane.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;layout&lt;/code&gt; values must be a recognized tmux layout name or a valid custom layout string.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="example-output"&gt;Example output&lt;a class="anchor" href="#example-output"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; [ok] blog
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; [ok] api
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; [error] workers: at least one window is required&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;If any config has errors, nux exits with a non-zero status.&lt;/p&gt;</description></item><item><title>doctor</title><link>https://drew-daniels.github.io/nux/docs/commands/doctor/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://drew-daniels.github.io/nux/docs/commands/doctor/</guid><description>&lt;h2 id="usage"&gt;Usage&lt;a class="anchor" href="#usage"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nux doctor&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="description"&gt;Description&lt;a class="anchor" href="#description"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Runs a diagnostic suite for your nux and tmux environment. Each check is reported with &lt;strong&gt;&lt;code&gt;[ok]&lt;/code&gt;&lt;/strong&gt;, &lt;strong&gt;&lt;code&gt;[warn]&lt;/code&gt;&lt;/strong&gt;, &lt;strong&gt;&lt;code&gt;[fail]&lt;/code&gt;&lt;/strong&gt;, or &lt;strong&gt;&lt;code&gt;[missing]&lt;/code&gt;&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Checks performed, in order:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;nux version&lt;/strong&gt; - prints the running version, OS, and architecture&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;tmux binary&lt;/strong&gt; - verifies &lt;code&gt;tmux&lt;/code&gt; is on PATH and prints its version&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Global config&lt;/strong&gt; - confirms the global config loaded successfully&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Zoxide binary&lt;/strong&gt; - checked only when &lt;code&gt;zoxide: true&lt;/code&gt; in global config&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Picker binary&lt;/strong&gt; - checked only when a picker is configured (fzf, gum)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Config directory&lt;/strong&gt; - verifies &lt;code&gt;~/.config/nux/projects/&lt;/code&gt; exists&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Projects directory&lt;/strong&gt; - verifies each configured &lt;code&gt;project_dirs&lt;/code&gt; path exists&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Project configs&lt;/strong&gt; - validates every project YAML file&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If any check fails, &lt;code&gt;doctor&lt;/code&gt; exits with a non-zero status and prints &amp;ldquo;some checks failed.&amp;rdquo;&lt;/p&gt;</description></item><item><title>completions</title><link>https://drew-daniels.github.io/nux/docs/commands/completions/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://drew-daniels.github.io/nux/docs/commands/completions/</guid><description>&lt;h2 id="usage"&gt;Usage&lt;a class="anchor" href="#usage"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nux completions &amp;lt;bash|zsh|fish&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="description"&gt;Description&lt;a class="anchor" href="#description"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Prints a &lt;strong&gt;shell completion script&lt;/strong&gt; to standard output for the given shell. Redirect the output to the location your shell loads for completions.&lt;/p&gt;
&lt;h2 id="install-examples"&gt;Install examples&lt;a class="anchor" href="#install-examples"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;bash&lt;/strong&gt;&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nux completions bash &amp;gt; /etc/bash_completion.d/nux&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;zsh&lt;/strong&gt;&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nux completions zsh &amp;gt; &lt;span class="s2"&gt;&amp;#34;&lt;/span&gt;&lt;span class="si"&gt;${&lt;/span&gt;&lt;span class="nv"&gt;fpath&lt;/span&gt;&lt;span class="p"&gt;[1]&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;/_nux&amp;#34;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;fish&lt;/strong&gt;&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nux completions fish &amp;gt; ~/.config/fish/completions/nux.fish&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="notes"&gt;Notes&lt;a class="anchor" href="#notes"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;If you install nux via &lt;strong&gt;Homebrew&lt;/strong&gt; or &lt;strong&gt;Nix&lt;/strong&gt;, completions are often installed automatically; you may not need the steps above.&lt;/li&gt;
&lt;li&gt;You may need elevated permissions for system-wide paths (for example &lt;code&gt;/etc/bash_completion.d&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>version</title><link>https://drew-daniels.github.io/nux/docs/commands/version/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://drew-daniels.github.io/nux/docs/commands/version/</guid><description>&lt;h2 id="usage"&gt;Usage&lt;a class="anchor" href="#usage"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nux version&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="description"&gt;Description&lt;a class="anchor" href="#description"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Prints build metadata: version, git commit, and build date.&lt;/p&gt;
&lt;h2 id="example-output"&gt;Example output&lt;a class="anchor" href="#example-output"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nux 0.5.0
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; commit: a1b2c3d
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; built: 2026-04-01T12:00:00Z&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;When running a development build (via &lt;code&gt;go install&lt;/code&gt; or &lt;code&gt;go build&lt;/code&gt; without ldflags), the output shows placeholder values:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nux dev
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; commit: none
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; built: unknown&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="changelog"&gt;Changelog&lt;a class="anchor" href="#changelog"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;See the &lt;a href="https://github.com/Drew-Daniels/nux/releases"&gt;GitHub releases page&lt;/a&gt; for release notes and changelogs.&lt;/p&gt;
&lt;h2 id="notes"&gt;Notes&lt;a class="anchor" href="#notes"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Useful when reporting bugs or verifying that your PATH points to the expected install.&lt;/li&gt;
&lt;li&gt;Release builds embed version info via &lt;code&gt;-ldflags&lt;/code&gt; at compile time.&lt;/li&gt;
&lt;/ul&gt;</description></item></channel></rss>