diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index 40c612c395e2b6fa5cfeced3b839349694c6028b..dd2d615652a92308fca0093ee4af03e10fc4b1f4 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -16,7 +16,7 @@ jobs:
       fail-fast: true
       matrix:
         node-version: [18, 20]
-        os: [macos-latest] # add windows-latest after timeout issue is fixed (see https://github.com/run-llama/LlamaIndexTS/issues/263)
+        os: [macos-latest, windows-latest]
     runs-on: ${{ matrix.os }}
     steps:
       - uses: actions/checkout@v4
diff --git a/packages/create-llama/templates/index.ts b/packages/create-llama/templates/index.ts
index a1b9c46a39fd574260ae8884d53e5ddeb274446b..880af908680d079acadd4717215d9891523a6d63 100644
--- a/packages/create-llama/templates/index.ts
+++ b/packages/create-llama/templates/index.ts
@@ -247,7 +247,7 @@ const installTSTemplate = async ({
     // modify the dev script to use the custom api path
     packageJson.scripts = {
       ...packageJson.scripts,
-      dev: `NEXT_PUBLIC_CHAT_API=${customApiPath} next dev`,
+      dev: `cross-env NEXT_PUBLIC_CHAT_API=${customApiPath} next dev`,
     };
   }
 
diff --git a/packages/create-llama/templates/types/streaming/nextjs/package.json b/packages/create-llama/templates/types/streaming/nextjs/package.json
index 3160e53c098029b9eb476aa0b54741d1904bdaa1..2f23029ddfba1cefcbf6e1243f19a85f1c2453d0 100644
--- a/packages/create-llama/templates/types/streaming/nextjs/package.json
+++ b/packages/create-llama/templates/types/streaming/nextjs/package.json
@@ -37,6 +37,7 @@
     "postcss": "^8.4.32",
     "tailwindcss": "^3.3.6",
     "typescript": "^5.3.2",
-    "@types/react-syntax-highlighter": "^15.5.11"
+    "@types/react-syntax-highlighter": "^15.5.11",
+    "cross-env": "^7.0.3"
   }
-}
\ No newline at end of file
+}