nb
nb copied to clipboard
[Feature Request] Add Windows Support (Not WSL)
Since Windows have tools like MSYS2, Git Bash and CMDer, could we have a native build for Windows?
What does a native build mean in this context? I'm a Macintosh developer who has nothing against Windows, just trying to learn.
I meant it just run on Windows without WSL.
It's a bash script today, someone would need to port it to, say, C, or fork it to PowerShell. Better yet, someone should just port bash to Windows!
I was under the impression that MSYS2
allows that exactly.
I will try nb
on it to see if there is an issue. It might be working.
Currently, the core functionality should work as it currently exists in any environment with Bash, Git, and a POSIX environment with file system access. It might work in MSYS2 or Git for Windows. Full functionality is available if you can install packages from a package manager. If there’s an installer that makes sense for me to set up, let me know.
What would you install with a package manager? I think on MSYS2 there is PacMan.
@RoyiAvital The recommended dependencies: bat
, ncat
, pandoc
, rg
, tig
, w3m
OK, It seems all of them have a a Windows version, so there should be no issues.
Hi, is there any plans on making this real?
@RoyiAvital did you manage to make it work without WSL?
@Karmac , Unfortunately, so far I haven't done it.
I can confirm that nb works with windows using MSYS2. You can integrate it to Windows Terminal and it feels pretty native. Remember to add '-use-full-path' the the startup parameters of msys to grant it access to your PATH. Install with npm install -g nb.sh
.