---
title: "Startup Script (init.ts)"
outline: false
---

# Startup Script (init.ts)

Fresh auto-loads ~/.config/fresh/init.ts. Run init: Edit from the palette to open it with a starter template; init: Reload re-runs without restarting.

<div class="showcase-demo">
  <img src="./showcase.gif" alt="Startup Script (init.ts) demo" />
</div>

Learn more: [Startup Script guide](/configuration/init).

<!-- Generated by: cargo test --package fresh-editor --test e2e_tests blog_showcase_fresh-0.2.26/init-ts -- --ignored -->
<!-- Then run: scripts/frames-to-gif.sh docs/blog/fresh-0.2.26/init-ts -->
