diff --git a/README.md b/README.md index 785091b8..6f7eec20 100644 --- a/README.md +++ b/README.md @@ -146,8 +146,9 @@ cd dotfiles **Option 1: Direct from GitHub (PowerShell 5.1+ or PowerShell 7+)** ```powershell -# Using the official chezmoi installer (recommended) -(irm -useb https://get.chezmoi.io/ps1) | powershell -c -; chezmoi init --apply DevSecNinja +# Install chezmoi via winget (recommended), then open a new shell +winget install twpayne.chezmoi +chezmoi init --apply DevSecNinja ``` **Option 2: Clone and install locally** diff --git a/docs/installation.md b/docs/installation.md index 45d1acc5..4c7dcae9 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -122,8 +122,9 @@ the dotfiles. **Option 1 — Directly from GitHub (PowerShell 5.1+ or PowerShell 7+):** ```powershell -# Using the official chezmoi installer (recommended) -(irm -useb https://get.chezmoi.io/ps1) | powershell -c -; chezmoi init --apply DevSecNinja +# Install chezmoi via winget (recommended), then open a new shell +winget install twpayne.chezmoi +chezmoi init --apply DevSecNinja ``` **Option 2 — Clone and install locally:**