Claude Launcher

CI
Release
License: MIT
Platform

Windows Terminal window titled Claude showing an orange 'Starting Claude' with animated dots

A one-click Claude launcher for Windows and macOS that opens Claude Code in your terminal, as if it were its own app. On Windows it is a shortcut that opens Windows Terminal:

  • Its own taskbar button and icon. No Windows Terminal icon, and no Terminal button flashing up before the Claude one.
  • The full Windows Terminal look. It runs in your real Windows Terminal with your font, theme, tabs and settings.
  • A loading screen in Claude orange instead of a blank black window while Claude starts.
  • No trust prompt every time you open it in your chosen folder.
  • Settings for the folder it opens in and the Claude command it runs (the agent view by default).

On macOS it is a Claude Code app in ~/Applications (Launchpad, Spotlight, the Dock) that opens a Terminal window with the same loading screen, folder trust and settings.

Unofficial community project, not affiliated with Anthropic.

Requirements · Install · Settings · How it looks · Update · How it works · Troubleshooting · Uninstall · Install the whole set

Requirements

Windows

  • Windows 10 or 11 with Windows Terminal.
  • PowerShell 7 (winget install Microsoft.PowerShell). The scripts don't run in the older Windows PowerShell 5.1.
  • Claude Code. The native installer puts claude.exe in %USERPROFILE%\.local\bin; an npm install on your PATH works too.

The launcher exe is compiled on your machine from src/ClaudeLauncher.cs with the C# compiler that ships with Windows. No binaries are downloaded.

macOS

  • macOS 11 or later, with Terminal.app (or iTerm2 or Ghostty, see Settings).
  • Claude Code: the native installer (~/.local/bin/claude), Homebrew, or npm on your PATH.
  • No PowerShell needed; the scripts are plain bash plus macOS built-ins. The app is built on your machine, and nothing is downloaded besides the source.

Install

Windows

One line (in PowerShell 7, no git needed):

irm https://raw.githubusercontent.com/lucaslobasso/claude-launcher/main/bootstrap.ps1 | iex

It downloads the latest release's source to a temp folder, runs install.ps1 from it, and deletes the temp folder. Read bootstrap.ps1 first if you like; it's short.

Or from a clone:

git clone https://github.com/lucaslobasso/claude-launcher
cd claude-launcher
pwsh -File install.ps1

Either way you get a Claude shortcut in the Start menu and on the Desktop. Open it, then right-click its taskbar button and pick Pin to taskbar.

macOS

One line (no git needed):

curl -fsSL https://raw.githubusercontent.com/lucaslobasso/claude-launcher/main/bootstrap.sh | bash

With options: ... | bash -s -- --folder ~/code.

Or from a clone:

git clone https://github.com/lucaslobasso/claude-launcher
cd claude-launcher
./install.sh

This builds ~/Applications/Claude Code.app on your machine (the default name is "Claude Code" because the official Claude desktop app is /Applications/Claude.app). The icon is generated from assets/claude-launcher.png with the built-in sips and iconutil. Since it is built locally, Gatekeeper has nothing to ask. Open it from Launchpad or Spotlight, then right-click its Dock icon and pick Options → Keep in Dock.

Install options:

Option Does
--folder <path> Folder Claude opens in.
--claude-args "<args>" Arguments for claude; "" is plain claude.
--keep-shell-open / --keep-shell-open=false Stay at a shell prompt after Claude exits, or don't.
--terminal terminal|iterm|ghostty Which terminal app to open.
--name "<name>" Name of the app.
--install-dir <path> Where the files go (default ~/.claude/launcher).

Settings

Windows. Settings live in %USERPROFILE%\.claude\launcher\launcher.json:

{
  "folder": "%USERPROFILE%",
  "claudeArgs": "agents",
  "keepShellOpen": false
}
Setting What it does Default
folder Folder Claude opens in, pre-trusted so there's no trust prompt. Environment variables like %USERPROFILE% work. your user folder
claudeArgs Arguments passed to claude. agents opens the agent view; "" starts a normal session. Use "double quotes" for an argument with spaces. agents
keepShellOpen true: when Claude exits, stay at a PowerShell prompt in that folder. false: close the tab. false

Edit the file and the next launch picks it up. Or re-run the installer with just what you want to change; everything else is kept:

pwsh -File install.ps1 -Folder D:\code
pwsh -File install.ps1 -ClaudeArgs "agents --permission-mode plan"
pwsh -File install.ps1 -ClaudeArgs ""          # plain claude
pwsh -File install.ps1 -KeepShellOpen

Other installer options:

Option Does
-ShortcutName "Claude Code" Name of the shortcuts, the Terminal profile and the taskbar button. Shortcuts under an old name are removed.
-NoDesktopShortcut Only the Start menu shortcut.
-InstallDir <path> Where the files go (default %USERPROFILE%\.claude\launcher).

With the one-line install, pass options like this:

& ([scriptblock]::Create((irm https://raw.githubusercontent.com/lucaslobasso/claude-launcher/main/bootstrap.ps1))) -Folder D:\code

For one run only, claude-launch.ps1 takes -Folder and -ClaudeArgs too. ClaudeLauncher.exe "<name>" opens the launcher's Terminal profile with <name> on the taskbar button (the shortcuts pass -ShortcutName).

macOS. Settings live in ~/.claude/launcher/launcher.json, with the same keys plus terminal:

{
  "folder": "~",
  "claudeArgs": "agents",
  "keepShellOpen": false,
  "terminal": "terminal"
}

folder accepts ~, $HOME or %USERPROFILE% (default ~). terminal is "terminal" (default, your default Terminal profile and look), "iterm" or "ghostty"; Windows ignores it. The other keys work as in the table above. Edit the file, or re-run ./install.sh with the option you want to change (see Install); everything else is kept.

How it looks

While Claude starts: the loading screen Its own taskbar button with the Claude icon
Orange Starting Claude with animated dots Windows taskbar with a Claude button using the Claude icon

claudeArgs: "agents" (default), a second later: Claude Code's agent view (session names blurred). With claudeArgs: "" it is a normal Claude Code session instead.

Claude Code agent view running in Windows Terminal (session names blurred)

Update

Windows. Run the one-line install again, or from a clone:

pwsh -File install.ps1 -Update     # git pull, then reinstall; your settings are kept

macOS. Run the one-line install again, or from a clone:

./install.sh --update              # git pull, then reinstall; your settings are kept

The installer prints the installed version. See CHANGELOG.md for what changed.

How it works

Windows

%%{init: {"flowchart": {"wrappingWidth": 400}}}%%
flowchart LR
    A["Claude shortcut"] --> B["ClaudeLauncher.exe"]
    B --> C["Terminal window<br/>with Claude's icon"]
    C --> D["claude-launch.ps1<br/>loading screen"]
    D --> E["claude agents"]
  1. Taskbar identity. Windows groups taskbar buttons by a per-window AppUserModelID. Every Windows Terminal window normally shares Terminal's, so it shows Terminal's icon. ClaudeLauncher.exe starts a new Terminal window and listens for window-creation events (SetWinEventHook). The moment the new window exists, before it is shown, it gives the window its own ID and Claude's icon. The shortcut carries the same ID, so a pinned shortcut and the running window share one button. Then the exe exits.
  2. Terminal profile. The installer adds a profile as a Terminal fragment, with a fixed GUID, so renaming it keeps it the same profile. Your own settings.json is only edited when it would override the profile: if profiles.defaults has "elevate": true, the launcher's entry gets "elevate": false (a backup is kept as settings.json.bak-launcher). It runs PowerShell 7 with -NoProfile (faster) and -ExecutionPolicy Bypass, so a strict policy can't block the launch script.
  3. Loading screen and launch. claude-launch.ps1 draws "Starting Claude" with animated dots in the middle of the window. It keeps going until Claude starts drawing (it notices the cursor move), with a 10-second limit. It also marks the configured folder as trusted in ~/.claude.json (only if it isn't already), then runs claude.

Try the loading screen on its own without starting Claude:

pwsh -File "$env:USERPROFILE\.claude\launcher\claude-launch.ps1" -Demo 5

macOS

flowchart LR
    A["Claude Code.app"] --> B["Terminal window"]
    B --> C["claude-launch.sh<br/>loading screen"]
    C --> D["claude agents"]

The app is a tiny stub that opens a Terminal window (or iTerm or Ghostty) running ~/.claude/launcher/claude-launch.sh. That script draws the orange "Starting Claude" screen, marks the folder as trusted in ~/.claude.json (only if it isn't already), then runs claude with your claudeArgs. The settings file is read with the JavaScript engine built into macOS (osascript), so there are no dependencies.

Try the loading screen on its own:

bash ~/.claude/launcher/claude-launch.sh --demo 5

Troubleshooting

Windows

  • "Couldn't start Windows Terminal". Install Windows Terminal, or turn its alias back on: Settings → Apps → Advanced app settings → App execution aliases → Terminal.
  • The installer says scripts are disabled, or "not digitally signed". Run it with pwsh -ExecutionPolicy Bypass -File install.ps1. The installer unblocks its own files after that, and the launch itself always bypasses the policy.
  • "This script requires PowerShell 7". You ran it from Windows PowerShell 5.1. Install PowerShell 7, then use pwsh.
  • A generic orange >_ icon instead of Claude's. claude.ico is missing from the install folder. Re-run the installer.
  • The window opens as Administrator (and shows Terminal's icon). The installer handles "elevate": true under profiles.defaults, so re-run install.ps1. If it still happens, check that the launcher's entry in profiles.list in your Terminal settings.json has "elevate": false.
  • Agent view hangs on "Opening…". The Claude background service was probably started from an admin terminal, and a non-admin agent view can't talk to it. Close every Claude window and every admin terminal running Claude, then open the shortcut again.
  • Still the Terminal icon. Re-pin from the running window (right-click its taskbar button, then Pin to taskbar). Pins made from an old shortcut can keep the old identity.
  • An empty taskbar button after uninstalling. Unpin it, or restart Explorer.
  • Logs. ClaudeLauncher.log (window labelling) and spinner.log (how long Claude took to start drawing) are in the install folder.

macOS

  • The running window shows Terminal's Dock icon. The app has the Claude icon in Launchpad, Spotlight and the Dock pin, but the window belongs to your terminal app. Giving it its own icon would need a cloned terminal app.
  • iTerm asks "Claude Code wants to control iTerm". It asks once. Allow it in System Settings → Privacy & Security → Automation.
  • The Terminal window stays open after Claude exits. In Terminal Settings → Profiles → Shell, set "When the shell exits" to "Close if the shell exited cleanly".
  • A short blank moment after the loading screen. The screen ends just before Claude starts. On Windows it waits until Claude draws.
  • Logs. spinner.log is in the install folder.

Uninstall

Windows

pwsh -File uninstall.ps1                # add -KeepSettings to keep launcher.json

With the one-line install there's no clone, so uninstall through the same script:

& ([scriptblock]::Create((irm https://raw.githubusercontent.com/lucaslobasso/claude-launcher/main/bootstrap.ps1))) -Uninstall

This removes the shortcuts (Desktop, Start menu, and taskbar pins that point at the launcher), the Terminal profile and the installed files. It finds a custom -InstallDir by itself. Claude Code, its settings and the folder trust entry are not touched.

macOS

./uninstall.sh                          # add --keep-settings to keep launcher.json

With the one-line install: curl -fsSL https://raw.githubusercontent.com/lucaslobasso/claude-launcher/main/bootstrap.sh | bash -s -- --uninstall.

This removes the app and the installed files. Claude Code, its settings and the folder trust entry are not touched. A Dock pin stays; remove it by hand.

Install the whole set

This is one of six small tools that work well together. Each installs on its own, or get them all with one command:

Tool What it does Runs on
Claude Launcher One click from the taskbar or Start menu straight into Claude Code, with a Claude icon and a loading spinner Windows, macOS
Claude Taskbar Your Claude sessions and usage limits as dots and bars on the Windows taskbar Windows
boxed-messages Colored boxes around your prompts and Claude's replies Any
claude-statusline A status line with model, context, branch, and usage only when it gets high Any
claude-sessions limit-revive resumes unfinished work after the 5-hour or weekly limit resets, context-handoff continues in a fresh session before the context fills, subagentify splits planned work across Opus and Sonnet subagents Any
language-spinner The "thinking" spinner shows words in a language you are learning Any

Windows (PowerShell 7):

irm https://raw.githubusercontent.com/lucaslobasso/claude-launcher/main/bundle.ps1 | iex

To pick, pass options: -Only statusline,limit-revive, -Skip launcher, -List (show what is installed) or -Uninstall:

& ([scriptblock]::Create((irm https://raw.githubusercontent.com/lucaslobasso/claude-launcher/main/bundle.ps1))) -Skip taskbar

macOS and Linux: the plugins work everywhere. On macOS the launcher installs with its own one-liner:

curl -fsSL https://raw.githubusercontent.com/lucaslobasso/claude-launcher/main/bootstrap.sh | bash

The plugins, in a shell:

for p in boxed-messages statusline language-spinner; do
  claude plugin marketplace add "lucaslobasso/claude-$p"
  claude plugin install "$p@claude-$p" --scope user
done
claude plugin marketplace add lucaslobasso/claude-sessions
for p in limit-revive context-handoff subagentify; do
  claude plugin install "$p@claude-sessions" --scope user
done

Contributing

Windows:

Invoke-Pester tests                      # Pester 5
Invoke-ScriptAnalyzer -Path . -Recurse -Settings PSScriptAnalyzerSettings.psd1

macOS:

shellcheck -x install.sh uninstall.sh bootstrap.sh src/mac/*.sh
bats tests/mac

CI runs these (the Mac ones on macos-latest) and compiles the exe on every push. A tag v* publishes a GitHub release, which the one-line install picks up.

bundle.ps1 (the whole-set installer) lives here too; its tests are in tests/bundle.Tests.ps1. The "Install the whole set" section is kept in docs/bundle-section.md and copied into all six READMEs.

License

MIT © Lucas Lobasso