Getting Started

The Chris Titus Tool Command Explained: irm, iex, Dev Branch and Presets

What every part of the one-line WinUtil command does, plus the dev branch, preset and config variants you can use later.

Illustration of a PowerShell command line split into labelled parts, explaining the Chris Titus Tool launch command

The Chris Titus Tool command is one short line of PowerShell, yet it raises more questions than any other part of WinUtil. What does it download? Is it safe to pipe into iex? What is the dev version? This guide explains each piece in plain language and lists the official variants you may need later.

The Standard Command

PowerShell (Admin)
irm "https://christitus.com/win" | iex

Run it in an elevated terminal. It has three parts:

  • irm is the built-in alias for Invoke-RestMethod. It requests the URL and returns its content, which in this case is the text of the WinUtil script.
  • "https://christitus.com/win" is the official short link to the latest stable release, served over HTTPS from Chris Titus Tech's domain.
  • | iex pipes that text into Invoke-Expression, which runs it as PowerShell code in the current session.

In short, the command downloads the current script and runs it immediately, without saving a file. That is why WinUtil always opens at the newest stable version.

The long-form equivalent

Aliases are shortcuts. If you prefer to see full cmdlet names, this line does exactly the same thing as the short Chris Titus Tool command:

PowerShell (Admin)
Invoke-RestMethod -Uri "https://christitus.com/win" | Invoke-Expression

Both forms are fine. The short one is easier to copy correctly, which is why the official documentation uses it.

Where and How to Run the Chris Titus Tool Command

The command only works in PowerShell, and it needs administrator rights. The simplest route on Windows 11 is:

  1. Right-click the Start button and choose Terminal (Admin).
  2. Approve the User Account Control prompt.
  3. Check that the window title begins with "Administrator:".
  4. Paste the command with Ctrl + V or a right-click, then press Enter.
  5. Wait a few seconds while the terminal prints progress, then use the WinUtil window that appears.

Leave the terminal open while you work, because WinUtil runs inside that session. Step-by-step screenshots of each way to open an elevated window are in How to Open Chris Titus Tool.

Is Piping a Script Into iex Safe?

The technique itself is neutral. What matters is who controls the URL. With the official domain, you are running the same script that is published in the public GitHub repository. With a lookalike domain, you would be handing administrator rights to a stranger. Always type the address yourself or copy it from an official page, and never run a variant you found in a comment section. If you prefer to inspect code before running it, download the release script or the source ZIP from GitHub first, as described in Chris Titus Tool Download: Get WinUtil Safely.

How to Inspect the Script Before Running It

If running code straight from the internet makes you uneasy, split the command into two steps. First save what irm returns to a file instead of piping it into iex:

PowerShell (Admin)
irm "https://christitus.com/win" | Out-File "$env:USERPROFILE\Desktop\winutil.ps1"

Open the saved file in Notepad or a code editor and look through it. It is a long but readable PowerShell script, and you can compare sections with the public GitHub repository. When you are satisfied, run the saved copy from the same elevated window:

PowerShell (Admin)
Set-ExecutionPolicy Bypass -Scope Process -Force
& "$env:USERPROFILE\Desktop\winutil.ps1"

This approach gives you the same stable release as the one-line command, with a chance to review it first. Remember that a saved copy does not update itself, so fetch a fresh one next time.

The Development Branch Command

PowerShell (Admin)
irm "https://christitus.com/windev" | iex

This loads the development branch, which the official getting started guide describes as experimental and for testing only. It can contain fixes that have not been released yet, but also new bugs. Use it when the developers ask you to confirm a fix, not for everyday setup.

Running a Preset Without the GUI Selections

Since release 26.06.23, WinUtil can apply a built-in preset from the command line. The automation guide shows this form:

PowerShell (Admin)
& ([ScriptBlock]::Create((irm "https://christitus.com/win"))) -Preset Standard

The difference from the standard command is that the downloaded text is turned into a script block, which can accept parameters. Valid preset names are Standard, Minimal and Advanced. The exact contents of each preset live in config/preset.json in the repository. Our WinUtil Presets: Standard vs Minimal vs Advanced guide compares them.

Running Your Own Configuration File

PowerShell (Admin)
& ([ScriptBlock]::Create((irm "https://christitus.com/win"))) -Config "C:\Path\To\Config.json"

You create the JSON file by choosing your apps and tweaks in WinUtil, then using the gear icon's Export option, or by using the Config Builder on the documentation site. Export also copies a ready-made launch command to the clipboard. The automation guide notes that if a key in your file was renamed or removed in a later version, the whole import is rejected with an Unknown selection key error, so re-export your file when you update. See Automate WinUtil With -Config and -Preset for the full workflow.

Why the Script Block Form Is Needed

New users often try to add -Preset Standard to the end of the normal irm ... | iex line. That does not work, because Invoke-Expression simply runs text and has no way to pass parameters into it. The script block form solves this in three steps:

  • (irm "https://christitus.com/win") downloads the script text, exactly as before.
  • [ScriptBlock]::Create(...) turns that text into a script block, which behaves like a function.
  • The & call operator runs the script block and hands it any parameters that follow, such as -Preset or -Config.

Use this form only when you need a switch. For normal interactive use, the short command is simpler.

Chris Titus Tool Command Variants Compared

VariantWhat it doesBest for
/win with iexOpens the latest stable release in the GUIEveryday use
/windev with iexOpens the development branchTesting fixes at the developers' request
Script block with -PresetApplies Standard, Minimal or AdvancedQuick, consistent tweaks
Script block with -ConfigApplies your exported selectionsRepeat setups on several PCs
Save with Out-File, then runLets you review the script firstCautious users and audits

Common Mistakes With the Command

  • Running it in Command Prompt. irm and iex are PowerShell commands, so cmd reports that they are not recognised.
  • Curly quotes. Text pasted through a document editor can swap straight quotes for curly ones. Copy from an official page or a plain code box.
  • Misspelled domains. One wrong letter can send the request to a different site. Never retype the address from memory.
  • Using the dev branch by accident. Check that the URL ends in /win, not /windev, on PCs you rely on.
  • Old config files. A file exported from an older version may contain keys that no longer exist. Re-export after updating.

When the Command Fails

SymptomLikely causeFix
Error mentioning execution policyScripts restricted for this sessionSet-ExecutionPolicy Unrestricted -Scope Process -Force
Error beginning with "<"A web page was returned instead of the scriptCheck network filtering, try a VPN or the GitHub release file
"Access denied"Terminal not elevated, or antivirus interferenceReopen as Administrator, review antivirus logs
Restricted by security policiesConstrained Language ModeAsk the device administrator; WinUtil cannot run in this mode

More detail is in Chris Titus Tool Not Working? WinUtil Error Fixes.

Which Command Should You Use? Real Scenarios

Most readers only ever need the standard line, but the variants each have a clear place. These examples show how to choose:

  • Setting up your own new laptop. Use irm "https://christitus.com/win" | iex, create a restore point, install apps and review a preset in the GUI before applying it.
  • A bug you reported has been fixed but not released. Use the /windev command on a test machine or virtual machine to confirm the fix, then return to /win.
  • Applying the same safe baseline to a family member's PC. The script block form with -Preset Standard gives a consistent result without clicking through every tweak.
  • Preparing a batch of office PCs. Export your selections once, store the JSON file on a USB drive or network share, and run the script block form with -Config on each machine.
  • Working under a strict security review. Save the script with Out-File, have it reviewed, and run that exact copy so everyone knows what was executed.
Tip

Whatever variant you use, create a restore point first. Presets and config files apply changes quickly, and a restore point is the simplest way back if something does not suit you.

Quick Reference

  • Everyday use: irm "https://christitus.com/win" | iex
  • Testing only: irm "https://christitus.com/windev" | iex
  • Preset: add -Preset Standard, Minimal or Advanced using the script block form
  • Your own selections: add -Config "path\to\file.json" using the script block form

Frequently Asked Questions

irm is the PowerShell alias for Invoke-RestMethod. It downloads the content of the URL, which is the WinUtil script.

/win loads the latest stable release. /windev loads the development branch, which the documentation describes as experimental and for testing only.

Yes. Use the script block form documented in the automation guide and add -Preset Standard, Minimal or Advanced.

No. It downloads the script into memory and runs it in the current PowerShell session. Nothing is installed, although the changes you choose inside WinUtil stay applied after you close it.

Invoke-Expression cannot pass parameters to the script it runs. Use the script block form, & ([ScriptBlock]::Create((irm "https://christitus.com/win"))) -Preset Standard, to supply a switch.

Yes. Pipe the irm output to Out-File to save it as a .ps1 file, read it in a text editor, then run the saved copy from an elevated PowerShell window.

Sources

Facts in this guide were checked against these official and primary sources on November 16, 2026. WinUtil changes often, so the official documentation is the final word.