BYU logo Computer Science

Windows terminal

A terminal is a program that allows you to interact with your file system using only a text interface.

Windows uses the PowerShell terminal by default.

Configuring PowerShell

To get started with the terminal in PyCharm, you first need to allow PowerShell to run Python scripts. Do this by following these steps:

(1) Run PowerShell as administrator by searching for Powershell in the Start menu and then clicking Run as administrator:

running PowerShell as administrator

(2) Run this command in the terminal:

set-executionpolicy remotesigned

Enter execution policy command

(3) Type A when prompted and then Enter.

Accept execution policy command

Close Powershell.