From 68f133f10bf01349171b09d5c03ebb1ffa649727 Mon Sep 17 00:00:00 2001 From: Jean-Paul van Ravensberg <14926452+DevSecNinja@users.noreply.github.com> Date: Sun, 15 Nov 2026 00:13:16 +0100 Subject: [PATCH] docs: install chezmoi via winget on Windows Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- README.md | 5 +++-- docs/installation.md | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) 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:**