Windows Setup For Developers (The Basics)
Configure Windows for software development
Task 1: Turn on Developer Settings
- In Windows go to Settings / Update & Security / For Developers.
- Scroll down to “File Explorer”. Grey checks are enabled, blue checks are not yet enabled. Verify the following settings are checked:
- “Change settings to show file extensions”
- “Change settings to show hidden and system files”
- “Change settings to show full path in title bar”
- Click “Apply”. Verify the above settings now have grey checks.
- Scroll down to “PowerShell”. Verify the following option is checked.
- “Change execution policy to allow local PowerShell scripts to run without signing. Require signing for remote scripts.”
- Click “Apply”. Check should now be grey.
Learn about PowerShell
PowerShell allows us to type commands affecting our computer. It allows us to create new files and folders, install programs, run programs, and more.
PowerShell Privileges
By default, Windows will launch PowerShell without administrator privileges. However, when using PowerShell to perform advanced functions such as installations, you will need Admin priviledges which allow you to create, delete, and modify settings and items such as files, folders, and environment variables. PowerShell is often used with software development projects.
Task 2: Add “Open PowerShell window here as administrator”
Windows File Explorer provides a context menu when you right-click inside a folder. Open File Explorer, go to “My Documents” and try it. We want to add an item to this context menu so that when we click in a working folder, we can open a PowerShell Admin window here - ready to execute commands in this specific location on our machine.
First, read How to Add “Open PowerShell window here as administrator” context menu in Windows 10
Then, update your folder context menu:
- Scroll down on the page linked above.
- Go to Step 2 and click Download.
- Follow Steps 5-9.
Finally, verify. Open File Explorer, go to “Documents” and right-click on a folder. You should see the option to “Open PowerShell here as administrator”.
Know These Terms
- Administrator - a user with elevated permissions including create, delete, and modify settings and items
- Context menu - a pop-up menu, typically avaiable when right-clicking on an item
- File name - the complete name + extension of the file OR the part that comes before the . and extension
- File extension - the part at the end of the file that indicates its type (e.g. doc, xls, md, html)
- Folder / directory - a place to store files on your computer
- Hidden files - files not displayed to typical users
- Operating system - software that provides a computer’s most basic functions such as connecting devices and executing applications
- Command line interface (CLI)
- PowerShell - a powerful CLI for Windows
- System files - files used by Windows that should not be modified by users
- Windows 10 - a popular operating system
- Windows File Explorer - a graphical interface to folders and files on Windows