title: Where should I generate Windows Terminal JSON fragment extensions?
body: <p>I'm creating &quot;JSON fragment extensions&quot; for Windows Terminal in my code, to create some &quot;auto-generated&quot; Windows Terminal profiles.</p>
  <p>In the official docs, <a href="https://docs.microsoft.com/en-us/windows/terminal/json-fragment-extensions" rel="nofollow noreferrer">JSON fragment extensions in Windows Terminal</a>, there are 2 locations recommended for storing fragments (if your application is not a Microsoft Store app):</p>
  <blockquote>
  <p>For applications installed from the web, there are 2 cases.
  The first is that the installation is for all the users on the system. In this case, the JSON files should be added to the folder:</p>
  <p><code>C:\ProgramData\Microsoft\Windows Terminal\Fragments\{app-name}\{file-name}.json</code></p>
  <p>In the second case, the installation is only for the current user. In this case, the JSON files should be added to the folder:</p>
  <p><code>C:\Users\&lt;user&gt;\AppData\Local\Microsoft\Windows Terminal\Fragments\{app-name}\{file-name}.json</code></p>
  </blockquote>
  <p>This seems straightforward enough, but there's <a href="https://docs.microsoft.com/en-us/windows/terminal/install#settings-json-file" rel="nofollow noreferrer">some other documentation</a> that describes the actual <em>settings.json</em> file location:</p>
  <blockquote>
  <p>The path for your Windows Terminal settings.json file may be found in one of the following directories:</p>
  <ul>
  <li>Terminal (stable / general release): <code>%LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json</code></li>
  <li>Terminal (preview release): <code>%LOCALAPPDATA%\Packages\Microsoft.WindowsTerminalPreview_8wekyb3d8bbwe\LocalState\settings.json</code></li>
  <li>Terminal (unpackaged: Scoop, Chocolately, etc): <code>%LOCALAPPDATA%\Microsoft\Windows Terminal\settings.json</code></li>
  </ul>
  </blockquote>
  <p>So, to be clear, these paths are not important if I'm creating profile fragment files, right? I don't need to choose a different path (<code>%LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe</code> vs <code>%LOCALAPPDATA%\Packages\Microsoft.WindowsTerminalPreview_8wekyb3d8bbwe</code> vs <code>%LOCALAPPDATA%\Microsoft\Windows Terminal</code>) <strong>for the Fragments files</strong> because Fragments will always be loaded from <code>C:\Users\&lt;user&gt;\AppData\Local\Microsoft\Windows Terminal\Fragments</code> etc?</p>