Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.22 KB

setup-Windows.md

File metadata and controls

31 lines (24 loc) · 1.22 KB

Windows environment setup

This is a list of step-by-step instructions to set up a Windows environment from scratch to build, run, and develop the TypeAgent repo, collated from various READMEs throughout the repo and external source. The instruction will install and setup the necessary tools and put the repo in C:\src\TypeAgent. Links to the original instructions for each part are provided for reference, but mostly not required to visit if you just follow the instructions here. Skip or change the steps as necessary to suit your needs.

Build

  • Install Git (download)
  • Install Node (download)
  • Enable corepack
    • Open Command Prompt as Administrator
    • corepack enable
  • Clone and build:
    • Open command prompt
    • git clone https://github.com/microsoft/TypeAgent C:\src\TypeAgent
    • cd /d C:\src\TypeAgent\ts
    • pnpm setup
    • pnpm i
    • pnpm run build

Run

  • Setup Service Keys (See instructions here)
  • Run the TypeAgent shell
    • pnpm run shell

Development

  • Install VSCode (download)
  • Start VSCode
    • Open command prompt
    • code C:\src\TypeAgent\ts