Emacs: Microsoft Windows: Run PowerShell

By Xah Lee. Date: . Last updated: .

Shell on Microsoft Windows

Alt+x shell to start it.

as of 2024-07-03, by default, it runs cmd.exe

emacs shell cmdexe 2024-07-03
emacs shell cmdexe 2024-07-03

Run PowerShell in Emacs

emacs pwsh 2024-07-03 ndsk
shell in emacs. PowerShell on Microsoft Windows.

Start PowerShell from cmd.exe

you can start PowerShell from cmd.exe

  1. Alt+x shell
  2. type powershell or pwsh
emacs cmdexe pwsh 2024-07-03
emacs cmdexe pwsh 2024-07-03

Start PowerShell from Eshell

you can start PowerShell from eshell

  1. Alt+x eshell
  2. type powershell or pwsh
emacs eshell pwsh 2024-07-03
emacs eshell pwsh 2024-07-03

Emacs on Microsoft Windows

Shell in Emacs