Skip to content

Commit 83c4828

Browse files
docs: add Windows PATH setup for nvcc/cmake/gh
1 parent 266e8da commit 83c4828

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,45 @@ gh --version
6666

6767
If any command is not recognized, add the corresponding `bin` directory to your `PATH` and restart your terminal.
6868

69+
### Windows PATH Setup (PowerShell)
70+
71+
Typical install paths:
72+
73+
```powershell
74+
# CUDA (adjust vX.Y to your installed version, e.g. v12.6)
75+
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\vX.Y\bin
76+
77+
# CMake
78+
C:\Program Files\CMake\bin
79+
80+
# GitHub CLI
81+
C:\Program Files\GitHub CLI
82+
```
83+
84+
Temporary for current terminal session:
85+
86+
```powershell
87+
$env:Path += ";C:\Program Files\CMake\bin;C:\Program Files\GitHub CLI;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.6\bin"
88+
```
89+
90+
Persist for your user account:
91+
92+
```powershell
93+
[Environment]::SetEnvironmentVariable(
94+
"Path",
95+
$env:Path + ";C:\Program Files\CMake\bin;C:\Program Files\GitHub CLI;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.6\bin",
96+
"User"
97+
)
98+
```
99+
100+
Then open a new terminal and verify:
101+
102+
```powershell
103+
nvcc --version
104+
cmake --version
105+
gh --version
106+
```
107+
69108
---
70109

71110
## Build and Run

0 commit comments

Comments
 (0)