Skip to content

Require PowerShell for Windows migration commands - #74

Merged
masahide merged 1 commit into
mainfrom
codex/legacy-migration-guide
Jul 20, 2026
Merged

Require PowerShell for Windows migration commands#74
masahide merged 1 commit into
mainfrom
codex/legacy-migration-guide

Conversation

@masahide

Copy link
Copy Markdown
Owner

Summary

  • explicitly require Windows PowerShell or PowerShell 7 for Windows install, uninstall, and migration commands
  • warn users not to run the commands from Command Prompt or Git Bash
  • add (Get-Process -Id $PID).ProcessName as a current-shell check
  • add $PSVersionTable.PSVersion to the migration preflight
  • clarify that WSL2 bash commands remain an exception and run inside WSL2

Why

PR #73 was merged before this follow-up commit reached the branch. Without an explicit shell check, users may open Command Prompt and paste PowerShell-only irm ... | iex commands.

Validation

  • comparison with current main contains only README.md and docs/migration-from-legacy.md
  • git diff --check

@masahide
masahide marked this pull request as ready for review July 20, 2026 13:42
@masahide
masahide merged commit 3c4737a into main Jul 20, 2026
1 check passed
@masahide
masahide deleted the codex/legacy-migration-guide branch July 20, 2026 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant