Skip to content

SOE Setup on Windows

Michael Benson edited this page Nov 22, 2026 · 8 revisions

This document provides step-by-step instructions for setting up the STEM Standard Operating Environment (SOE) on a Windows system.

If you have installed the SOE on another computer or are comfortable installing applications from the command line, Quick Setup provides an all-in-one setup option.

Setup Phases

  1. Meet system requirements
  2. Prepare your device
  3. Install SOE
  4. Configure SOE
  5. Verify SOE
  6. Continue with course setup tasks
  7. Appendices

Meet system requirements

The STEM Standard Operating Environment (SOE) and most individual Course Computing Environments (CCEs) support modern Windows desktop releases, provided the device permits installation of the required software. Normally, this means:

  • Windows is NOT running in S mode.
  • You or someone else can approve software installations with administrator credentials while you remain signed in to the Windows account you will use for coursework.
  • Your Windows version and OS build meet or exceed the values listed below.
Release Version OS build
Windows 10 2004 or later 19041 or later
Windows 11 21H2 or later 22000 or later

If you know these requirements are met, proceed to Prepare your device. Otherwise, follow the steps below to check your device.

Check Windows info

Procedure:

  1. Press Windows + R to open the Run dialog.
  2. Enter ms-settings:about and press Enter.
  3. Scroll down to Windows info to find your Windows version and OS build..

Compare your Windows version and OS build against the minimum requirements listed above. If your device does not meet them, you must Update Windows during the next Prepare your device section before installing the SOE.

Warning

Older Windows versions may still run the SOE or CCE even after reaching end of updates. However, versions that no longer receive security updates may expose your device and personal information to security risks.

We strongly recommend using a Windows version that is still receiving updates. Check Microsoft's Supported versions of Windows client under General Availability Channel column to determine whether your Windows version is still supported or can be updated.

Check for Windows S Mode

Windows S mode is designed for security and performance but restricts software installations to applications available in the Microsoft Store. The SOE and CCEs require software from other sources and cannot be installed while Windows is in S mode. Learn more.

Warning

Switching out of Windows S mode is permanent. If you choose to remain in S mode, you cannot install the SOE locally.

Alternative remote computing options may be available. Check your Brightspace course for university-provided virtual devices, such as Codio. Third-party cloud computing services may also be available, subject to their usage limits. Learn more.

Procedure:

  1. Open Microsoft Store: S Mode Support.
  2. If prompted, click Open Microsoft Store.
  3. Carefully review your device's S mode status.
    • Not running in S mode: No changes are needed.
    • Running in S mode: Follow the instructions to switch out of S mode. This normally involves clicking Get and following the prompts. Learn more.
  4. Close the Microsoft Store.

Expected outcome:

  • Windows is not running in S mode.
  • Your device permits software installations from outside the Microsoft Store.

Check for administrative privileges

Some software required by the SOE and CCEs requires administrator approval during installation. Follow these steps to check your Windows account type.

Procedure:

  1. Press Windows + R to open Run dialog.
  2. Enter control.exe /name Microsoft.UserAccounts and press Enter.
  3. Check your account type:
    • Administrator: You can approve software installations yourself.
    • Standard User: You may need assistance from someone with administrator privileges.

If you have a standard user account:

You do not need administrator approval now. Arrange for someone with an administrator account (such as a parent, partner, or employer) to assist when you reach the Prepare your device and Install SOE phases.

During Install SOE:

  1. Remain signed in to the Windows account you will use for your coursework.
  2. When Windows requests administrator credentials, have the administrator review the request and enter their credentials.
  3. Continue the installation using your own account.

Important

Do not sign in to Windows using someone else's account to complete your SOE setup. Some software, settings, and files are specific to individual Windows accounts. The administrator should approve required system changes while your personal development tools and course files remain associated with your account.

If administrator approval is unavailable, alternative remote computing options may be available. Check your Brightspace course for university-provided virtual desktops, such as Codio. The SOE and many CCEs may also be available through third-party cloud computing services, subject to availability and usage limits. Learn more.

Prepare your device

This section provides instructions for preparing your Windows system for the STEM Standard Operating Environment (SOE). Follow the steps to ensure your system is ready for a smooth installation.

Update Windows

We recommend updating Windows before installing the STEM Standard Operating Environment (SOE) or your Course Computing Environment (CCE). Windows updates can improve security, compatibility, and reliability.

  1. Save your work, connect to the internet, and plug in your device if it is a laptop.
  2. Press Windows + R to open the Run dialog.
  3. Type ms-settings:windowsupdate and press Enter.
  4. Select Check for updates.
  5. If updates are available, select Download & install (if prompted).
  6. Restart your device if prompted. Repeat steps 4–6 until no additional updates are available.

If your Windows version did not previously meet the SOE minimum requirements, Check Windows info again to confirm it now does.

Note

If Windows Update does not offer a newer Windows release, check for available upgrades using Microsoft's Windows 10 Update Assistant or Windows 11 Installation Assistant.

Upgrading is required if your Windows version does not meet the SOE minimum requirements. Otherwise, upgrading to a newer, supported Windows version is recommended for security and reliability.

Create a restore point

We recommend creating a Windows restore point before installing the STEM Standard Operating Environment (SOE). A restore point lets you undo certain system changes if something goes wrong during installation.

  1. Press Windows + R to open Run dialog.
  2. Enter systempropertiesprotection.exe and press Enter.
  3. Under Protection Settings, select your Windows drive (usually C:).
  4. Check its Protection status:
    • On: Continue to step 5.
    • Off: Select Configure, choose Turn on system protection, and select Apply, then OK.
  5. Select Create.
  6. Enter Before SOE Installation as the description.
  7. Select Create and wait for Windows to confirm that the restore point was created successfully.
  8. Select Close, then OK.

Note

  • You may need administrator approval to enable System Protection or create a restore point.
  • A restore point is not a backup of your personal files. Back up important files separately.
  • If your device does not allow you to create a restore point, you may still attempt SOE installation.

Install SOE

This section provides step-by-step instructions for installing or updating the STEM Standard Operating Environment (SOE) using a terminal and Windows PowerShell on a system prepared for the SOE.

Open a Terminal

A terminal is a program that provides a text-based interface for interacting with your computer. In this guide, we will use a terminal to enter and run shell commands for installing and updating the SOE.

If this is your first time using a terminal, follow this guide in order. It walks you through each step and provides the exact commands to enter. For more background, you can review Terminal Basics at any time.

Procedure.

  1. Open the Power User menu by pressing Windows + X or right-clicking Start (⊞).
  2. Select Terminal or PowerShell, depending on which is available on your system.
  3. Check the command prompt, the line where you enter commands. If it does not start with PS, type powershell and press Enter. If that command is not recognized, type pwsh and press Enter instead.

Expected Output. You should see a PowerShell command prompt similar to PS C:\Users\penmen>. In this example, penmen is the Windows username. Your prompt may show your username. Once you have a prompt that starts with PS, you are ready to type or paste the commands from this guide. The prompt path is not critical; it simply shows the current working directory.

Tip

Manually type short commands. Doing so reinforces command syntax and helps you remember them. In addition, it is often faster to type them than to copy and paste.

Install or Update WinGet

WinGet is the command-line interface (CLI) for the Windows Package Manager service. It allows you to discover, install, upgrade, and configure software efficiently from the terminal. Learn more.

The command below uses PowerShell to check whether WinGet is available on your computer and install or update it as needed. It performs the following tasks:

  1. Refreshes PowerShell's list of locations where Windows looks for commands.
  2. If WinGet is missing, opens the Microsoft Store so you can install App Installer, which includes WinGet.
  3. If WinGet is available, updates its software catalog and checks for an App Installer upgrade.
  4. Displays the installed WinGet version to confirm that the command is available.

Procedure. Click the copy icon (two squares overlapping) on the right side of the command block to copy the entire command to your clipboard. Paste it into your PowerShell terminal and press Enter to run it. Follow any prompts that appear.

$env:Path = [Environment]::GetEnvironmentVariable('Path','Machine') + ';' + [Environment]::GetEnvironmentVariable('Path','User') + ";$env:LOCALAPPDATA\Microsoft\WindowsApps"; if (-not (Get-Command winget -ErrorAction SilentlyContinue)) { Start-Process 'ms-windows-store://pdp/?ProductId=9NBLGGH4NNS1'; Read-Host 'Install App Installer in Microsoft Store, then press Enter' | Out-Null; Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe -ErrorAction SilentlyContinue }; if (Get-Command winget -ErrorAction SilentlyContinue) { winget source update --name winget; winget upgrade --id Microsoft.AppInstaller -e --source winget --accept-source-agreements --accept-package-agreements; winget --version } else { Write-Warning 'WinGet is unavailable. Verify that App Installer finished installing.' }

If a User Account Control (UAC) prompt appears, click Yes to allow the installation to proceed. Learn more.

Tip

Copy and paste long commands. This reduces the chance of errors and saves time compared to typing them manually. Many websites and documentation provide a copy button for copying command blocks. When provided, use them to ensure you copy the entire command block correctly.

Install or Update Windows Terminal

Windows Terminal is a modern application for running command-line tools such as PowerShell and Git Bash. Although you are already using a terminal, it may be an older PowerShell window or another terminal application. Windows Terminal provides a consistent interface with tabs, allowing you to run different command-line tools and work on multiple projects in one window. This step ensures Windows Terminal is installed and up to date for later coursework. Learn more.

Procedure. Click the copy icon (two squares overlapping) on the right side of the command block to copy the entire command to your clipboard. Then paste it into your terminal and press Enter to run the command.

winget install --id Microsoft.WindowsTerminal -e --source winget --accept-source-agreements --accept-package-agreements

If a User Account Control (UAC) prompt appears, click Yes to allow the installation to proceed. Learn more.

Expected Output. WinGet identifies Windows Terminal and reports a successful installation, or says it is already installed with no available update. The PowerShell prompt returns.

Install or Update Git for Windows

Git for Windows provides Git, Git Bash, and other supporting tools for Windows. Learn more.

Git is a version control system that records changes to files so you can review earlier work, track changes, and restore previous versions, if needed. Learn more.

Git Bash provides GNU Bash (Bourne Again SHell) emulation environment for Windows, allowing you to run bash commands and other Unix-like utilities from the terminal, similar to a Linux or macOS environment. Bash is the primary command-line shell used in the STEM Standard Operating Environment (SOE). Learn more.

Procedure. Click the copy icon (two squares overlapping) on the right side of the command block to copy the entire command to your clipboard. Then paste it into your terminal and press Enter to run the command.

winget install --id Git.Git -e --source winget --accept-source-agreements --accept-package-agreements

If a User Account Control (UAC) prompt appears, click Yes to allow the installation to proceed. Learn more.

Expected Output. WinGet identifies Git and reports a successful installation, or says it is already installed with no available update. The PowerShell prompt returns.

Install or Update GitHub CLI

GitHub CLI provides the gh command-line interface (CLI) for working with GitHub from your terminal. This CLI tool lets you manage repositories, report issues, and change settings on GitHub without leaving your terminal. Learn more.

Procedure. Click the copy icon (two squares overlapping) on the right side of the command block to copy the entire command to your clipboard. Then paste it into your terminal and press Enter to run the command.

winget install --id GitHub.cli -e --source winget --accept-source-agreements --accept-package-agreements

If a User Account Control (UAC) prompt appears, click Yes to allow the installation to proceed. Learn more.

Expected Output. WinGet identifies GitHub CLI and reports a successful installation, or says it is already installed with no available update. The PowerShell prompt returns.

Install or Update PowerShell 7

PowerShell is a command-line shell and scripting language. A script is a saved set of commands that automates tasks, such as setting up a course repository. Learn more.

Older Windows releases include Windows PowerShell 5.1 (powershell.exe). PowerShell 7+ (pwsh.exe) is the newer, cross-platform version for Windows, macOS, and Linux. We install or update PowerShell 7 to provide a consistent shell for STEM setup and automation scripts. Depending on your Windows version, PowerShell 7 may already be installed. Learn more.

Procedure. Click the copy icon (two squares overlapping) on the right side of the command block to copy the entire command to your clipboard. Then paste it into your terminal and press Enter to run the command.

winget install --id Microsoft.PowerShell -e --source winget --accept-source-agreements --accept-package-agreements

If a User Account Control (UAC) prompt appears, click Yes to allow the installation to proceed. Learn more.

Expected Output. WinGet identifies PowerShell and reports a successful installation, or says it is already installed with no available update. The PowerShell prompt returns.

Install or Update Python Install Manager

Python Install Manager (PIM) installs and manages Python interpreters—the software that runs Python code. Its pymanager command lets you install, list, update, and remove Python versions. As you progress to more advanced courses or projects, you may need more than one Python version. PIM helps you manage those versions when the need arises. Learn more.

Procedure. Click the copy icon (two squares overlapping) on the right side of the command block to copy the entire command to your clipboard. Then paste it into your terminal and press Enter to run the command.

winget install --id Python.PythonInstallManager -e --source winget --accept-source-agreements --accept-package-agreements

If a User Account Control (UAC) prompt appears, click Yes to allow the installation to proceed. Learn more.

Expected Output. WinGet identifies Python Install Manager and reports a successful installation, or says it is already installed with no available update. The PowerShell prompt returns.

Install or Update Visual Studio Code

Visual Studio Code (VS Code) is the most popular extensible code editor. A code editor is an application for writing and editing code and related documents. Extensible means it can be enhanced with extensions to support additional languages, tools, and workflows, allowing you to complete all your development tasks in one place. Learn more.

Procedure. Click the copy icon (two squares overlapping) on the right side of the command block to copy the entire command to your clipboard. Then paste it into your terminal and press Enter to run the command.

winget install --id Microsoft.VisualStudioCode -e --source winget --accept-source-agreements --accept-package-agreements

If a User Account Control (UAC) prompt appears, click Yes to allow the installation to proceed. Learn more.

Expected Output. WinGet identifies Visual Studio Code and reports a successful installation, or says it is already installed with no available update. The PowerShell prompt returns.

Refresh Terminal Path

When you type a command such as git or pymanager, PowerShell uses PATH to find the program. PATH is a Windows setting that lists the folders to search.

The installers updated Windows’ saved PATH, but your terminal may still be using an older copy. This step refreshes it and checks your installation progress before you continue. Learn more.

Procedure. Click the copy icon (two squares overlapping) on the right side of the command block to copy the entire command to your clipboard. Then paste it into your terminal and press Enter to run the command.

$env:Path = [Environment]::GetEnvironmentVariable('Path','Machine') + ';' + [Environment]::GetEnvironmentVariable('Path','User'); $git = Get-Command git.exe -ErrorAction Stop; $gitRoot = Split-Path (Split-Path $git.Source -Parent) -Parent; if (-not (Test-Path (Join-Path $gitRoot 'git-bash.exe'))) { throw 'Git Bash not found.' }; $userPath = [string][Environment]::GetEnvironmentVariable('Path','User'); if (($userPath -split ';') -notcontains $gitRoot) { [Environment]::SetEnvironmentVariable('Path', ($userPath.TrimEnd(';') + ';' + $gitRoot).Trim(';'), 'User') }; $env:Path = [Environment]::GetEnvironmentVariable('Path','Machine') + ';' + [Environment]::GetEnvironmentVariable('Path','User'); Get-Command git, git-bash, gh, pwsh, pymanager, code

Expected Output. PowerShell displays a table listing all six commands without errors, as in the example below. The example uses penmen as the Windows username. Your output will show current version numbers or 0.0.0.0. In addition, your source paths may vary. Your output will also show your own username instead of penmen. This is normal and expected. The key indicator of success is that all six commands appear without errors.

CommandType Name           Version   Source
----------- ----           -------   ------
Application git.exe        2.56.0.4  C:\Program Files\Git\cmd\git.exe
Application git-bash.exe   2.56.0.4  C:\Program Files\Git\git-bash.exe
Application gh.exe         0.0.0.0   C:\Program Files\GitHub CLI\gh.exe
Application pwsh.exe       0.0.0.0   C:\Users\penmen\AppData\Local\Microsoft\...
Application pymanager.exe  0.0.0.0   C:\Users\penmen\AppData\Local\Microsoft\...
Application code.cmd       0.0.0.0   C:\Users\penmen\AppData\Local\Programs\...

If a command is not recognized, repeat that tool’s installation step. Then run this command block again. Do not continue until all six commands appear without errors.


Install or Update Python Interpreter

The Python interpreter is the program that reads and runs Python code. You will use it for tasks such as calculations, data analysis, and automation. The command below uses Python Install Manager to install the SOE Python version. Learn more.

Procedure. Click the copy icon (two squares overlapping) on the right side of the command block to copy the entire command to your clipboard. Then paste it into your terminal and press Enter to run the command.

pymanager exec -V:3.12 --version

Expected Output. Look for a line beginning with Python 3.12, followed by a patch number. The patch number will vary; the important part is that the interpreter reports version 3.12. The PowerShell prompt returns.

Install or Update VS Code Extensions

Extensions are add-ons that give VS Code extra features. The extensions below provide support for Python and PowerShell, check code and spelling, keep formatting consistent, create diagrams, and preview or export Markdown documents. These features help you write and review course assignments. Learn more.

Procedure. Click the copy icon (two squares overlapping) on the right side of the command block to copy the entire command to your clipboard. Then paste it into your terminal and press Enter to run the command.

& { $soeNodeOptions = $env:NODE_OPTIONS; try { $env:NODE_OPTIONS = "$soeNodeOptions --disable-warning=DEP0169".Trim(); (Invoke-RestMethod "https://raw.githubusercontent.com/GC-STEM/SOE/main/.vscode/extensions.json").recommendations | ForEach-Object { code --install-extension $_ --force } } finally { $env:NODE_OPTIONS = $soeNodeOptions } }

Expected Output. Each command names an extension and reports that it was successfully installed or is already installed. All commands should finish without an error.

Configure SOE

This section provides step-by-step instructions for configuring the STEM Standard Operating Environment (SOE) using a terminal and Windows PowerShell.

Configure GitHub CLI

Procedure. Click the copy icon (two squares overlapping) on the right side of the command block to copy the entire command to your clipboard. Then paste it into your terminal and press Enter to run the command. Follow the on-screen instructions to complete the authentication process.

gh auth login --clipboard --hostname github.com --git-protocol https --web

Configure Git

Procedure. Click the copy icon (two squares overlapping) on the right side of the command block to copy the entire command to your clipboard. Then paste it into your terminal and press Enter to run the command.

$user = gh api user | ConvertFrom-Json
git config --global user.name $(if ($user.name) { $user.name } else { $user.login })
git config --global user.email "$($user.id)+$($user.login)@users.noreply.github.com"
gh auth setup-git
git config --global --get-regexp '^user\.(name|email)$'

Configure VS Code

  1. Sign-in/authorize GitHub
  2. Set default Python interpreter to version 3.12

Verify SOE

This section provides instructions for verifying the STEM Standard Operating Environment (SOE) using a terminal and Windows PowerShell.

Procedure. Copy the command block into the terminal and press Enter.

winget --version
git --version
gh --version
pwsh --version
pymanager exec -V:3.12 --version
code --version
code --list-extensions
git config --global user.name
git config --global user.email
gh auth status --hostname github.com

Expected Output. Example output is shown below. Square brackets identify information specific to your computer or account. Version numbers, authentication details, and additional extensions may differ. Check that PowerShell is version 7 or later, Python is version 3.12, your account details are correct, and all required extensions appear for the STEM Standard Operating Environment (SOE).

[PS C:\Users\username]> winget --version
v1.29.380
[PS C:\Users\username]> git --version
git version 2.56.0.windows.4
[PS C:\Users\username]> gh --version
gh version 2.103.3 (2026-10-26)
https://github.com/cli/cli/releases/tag/v2.103.3
[PS C:\Users\username]> pwsh --version
PowerShell 7.6.9
[PS C:\Users\username]> pymanager exec -V:3.12 --version
Python 3.12.10
[PS C:\Users\username]> code --version
1.144.1
261c84cb1eddf11235f9e2c921425e9663fbe556
x64
[PS C:\Users\username]> git config --global user.name
[Your GitHub Username]
[PS C:\Users\username]> git config --global user.email
[Your GitHub UserID + Username]@users.noreply.github.com
[PS C:\Users\username]> gh auth status --hostname github.com
github.com
  ✓ Logged in to github.com account [Your GitHub Username] (keyring)
  - Active account: true
  - Git operations protocol: https
  - Token: gho_************************************
  - Token scopes: 'gist', 'read:org', 'repo', 'workflow'
[PS C:\Users\username]> code --list-extensions
bierner.github-markdown-preview
bierner.markdown-checkbox
bierner.markdown-emoji
bierner.markdown-footnotes
bierner.markdown-preview-github-styles
charliermarsh.ruff
editorconfig.editorconfig
hediet.vscode-drawio
ms-python.debugpy
ms-python.python
ms-python.vscode-pylance
ms-python.vscode-python-envs
ms-vscode.powershell
streetsidesoftware.code-spell-checker
yzane.markdown-pdf

Continue with course setup tasks

Congratulations on completing the step-by-step setup of the STEM Standard Operating Environment (SOE) on Windows. If you need to re-setup the SOE on the same machine or a different one, consider following Quick Setup for faster setup.

The next step is to...

To return to your course repository, click the course ID at the bottom of the page.

Appendices

Quick Setup

This section provides a single command block for setting up the STEM Standard Operating Environment (SOE). It assumes you know how to use a terminal and your system is prepared for the SOE. If running the command block fails, refer to the step-by-step setup instructions above.

Procedure. Copy the command block into the terminal and press Enter to run the commands. Follow any prompts that appear during the installation process.

& {
    $ErrorActionPreference = 'Stop'
    $env:Path = [Environment]::GetEnvironmentVariable('Path','Machine') + ';' + [Environment]::GetEnvironmentVariable('Path','User') + ";$env:LOCALAPPDATA\Microsoft\WindowsApps"
    if (-not (Get-Command winget.exe -ErrorAction SilentlyContinue)) { Start-Process 'ms-windows-store://pdp/?ProductId=9NBLGGH4NNS1'; Read-Host 'Install App Installer in Microsoft Store, then press Enter' | Out-Null; Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe -ErrorAction SilentlyContinue }
    if (-not (Get-Command winget.exe -ErrorAction SilentlyContinue)) { throw 'WinGet is unavailable. Complete the App Installer setup before continuing.' }
    winget source update --name winget; if ($LASTEXITCODE -ne 0) { throw 'WinGet source update failed.' }
    winget upgrade Microsoft.AppInstaller
    foreach ($id in @('Microsoft.WindowsTerminal','Git.Git','GitHub.cli','Microsoft.PowerShell','Python.PythonInstallManager','Microsoft.VisualStudioCode')) { winget install --id $id -e --source winget --accept-source-agreements --accept-package-agreements; if ($LASTEXITCODE -ne 0) { throw "Installation failed: $id" } }
    $env:Path = [Environment]::GetEnvironmentVariable('Path','Machine') + ';' + [Environment]::GetEnvironmentVariable('Path','User') + ";$env:LOCALAPPDATA\Microsoft\WindowsApps;$env:LOCALAPPDATA\Python\bin;$env:ProgramFiles\Python\bin"
    $gitRoot = Split-Path (Split-Path (Get-Command git.exe -ErrorAction Stop).Source -Parent) -Parent; if (-not (Test-Path (Join-Path $gitRoot 'git-bash.exe'))) { throw 'Git Bash not found.' }; $userPath = [string][Environment]::GetEnvironmentVariable('Path','User'); if (($userPath -split ';') -notcontains $gitRoot) { [Environment]::SetEnvironmentVariable('Path', ($userPath.TrimEnd(';') + ';' + $gitRoot).Trim(';'), 'User') }
    $env:Path = [Environment]::GetEnvironmentVariable('Path','Machine') + ';' + [Environment]::GetEnvironmentVariable('Path','User') + ";$env:LOCALAPPDATA\Microsoft\WindowsApps;$env:LOCALAPPDATA\Python\bin;$env:ProgramFiles\Python\bin"; Get-Command git, git-bash, gh, pwsh, pymanager, code -ErrorAction Stop | Out-Host
    pymanager install 3.12 --quiet --yes; if ($LASTEXITCODE -ne 0) { throw 'Python 3.12 installation failed.' }
    pymanager exec -V:3.12 --version; if ($LASTEXITCODE -ne 0) { throw 'Python 3.12 verification failed.' }
    $repoParent = Join-Path $HOME 'Repos\_shared'; New-Item -ItemType Directory -Force -Path $repoParent | Out-Null; $soeRoot = Join-Path $repoParent 'SOE'
    if (Test-Path $soeRoot) { git -C $soeRoot pull --ff-only } else { git clone https://github.com/GC-STEM/SOE.git $soeRoot }; if ($LASTEXITCODE -ne 0) { throw 'SOE repository download or update failed.' }
    $soeNodeOptions = $env:NODE_OPTIONS; try { $env:NODE_OPTIONS = "$soeNodeOptions --disable-warning=DEP0169".Trim(); (Get-Content (Join-Path $soeRoot '.vscode\extensions.json') -Raw | ConvertFrom-Json).recommendations | ForEach-Object { code --install-extension $_ --force; if ($LASTEXITCODE -ne 0) { throw "VS Code extension installation failed: $_" } } } finally { $env:NODE_OPTIONS = $soeNodeOptions }
    gh auth login --clipboard --hostname github.com --git-protocol https --web; if ($LASTEXITCODE -ne 0) { throw 'GitHub authentication failed.' }
    $user = gh api user | ConvertFrom-Json; if ($LASTEXITCODE -ne 0 -or -not $user.login) { throw 'GitHub user information could not be retrieved.' }
    git config --global user.name $(if ($user.name) { $user.name } else { $user.login })
    git config --global user.email "$($user.id)+$($user.login)@users.noreply.github.com"
    gh auth setup-git --hostname github.com; if ($LASTEXITCODE -ne 0) { throw 'GitHub Git authentication setup failed.' }
    git config --global --get-regexp '^user\.(name|email)$'; if ($LASTEXITCODE -ne 0) { throw 'Git identity verification failed.' }
    Write-Host 'SOE Quick Setup completed successfully.'
}

Terminal Basics

Update SOE

Clone this wiki locally