#270·ni

`nr` command will overrride windows terminal title.

Author: yzqdevCreated Mar 19, 2025Updated Oct 6, 2025
Labelsos:windows

Describe the bug

run pnpm run dev the windows terminal title not changed while run nr dev the windows terminal title change to c:\WINDOWS\system32\cmd.exe just as the video shows below,when there are lots of tabs we have to click on the tab to see the pwd path

https://github.com/user-attachments/assets/eb41ac61-2a4a-480f-ac05-2986e94c9cf7

Reproduction

run nr command in a node based project

System Info

bash
System:
    OS: Windows 10 10.0.19045
    CPU: (8) x64 AMD Ryzen 5 3400G with Radeon Vega Graphics
    Memory: 14.69 GB / 31.95 GB
  Binaries:
    Node: 22.13.0 - C:\Program Files\nodejs\node.EXE
    npm: 11.0.0 - C:\Program Files\nodejs\npm.CMD
    pnpm: 10.6.1 - C:\Program Files\nodejs\pnpm.CMD
    bun: 1.2.5 - D:\scoop\shims\bun.EXE
    Watchman: 20240728.093121.0 - D:\scoop\shims\watchman.EXE
  Browsers:
    Edge: Chromium (127.0.2651.74), ChromiumDev (127.0.2610.3)
    Internet Explorer: 11.0.19041.4355

Used Package Manager

pnpm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Contributions

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)