Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Windows support #3526

Closed
11 of 18 tasks
vilmibm opened this issue Apr 27, 2021 · 13 comments
Closed
11 of 18 tasks

Improve Windows support #3526

vilmibm opened this issue Apr 27, 2021 · 13 comments
Labels

Comments

@vilmibm
Copy link
Contributor

vilmibm commented Apr 27, 2021

This is a tracking issue for rounding up everything related to Windows support in gh.

Issues

Packaging

Bugs

Features

Docs

Notes

Part of what has made Windows support difficult is the variety of execution environments users might be using. We know we have many Windows users and can tell from within code when we're running on Windows; however, we have no insight right now into which of the many potential Windows environments someone is running gh in:

  • Powershell
  • Git Bash
  • Cygwin
  • cmd.exe
  • WSL
  • WSL2
  • something else

Nor what terminal emulator might be in use:

Depending on the combination from the above two lists there may be issues with tab completion, unicode rendering, and color palettes. Our confusion around what environments people are actually in has led to some paralysis in improving Windows support.

I propose:

  • research spike on at least determining when we're running in PowerShell
  • blessing some combinations of environments + terminal emulators as first class support targets
  • write QA docs for the blessed environments + terminal emulators
  • write public facing docs on setting up Windows for success with gh (Primarily targeted at installing and using a proper unicode-supporting font)
@vilmibm vilmibm pinned this issue Apr 27, 2021
@billygriffin billygriffin changed the title Windows Improve Windows support Apr 27, 2021
@kushagrarathore
Copy link

windows 32bit version not supporting.....

@just1a-person
Copy link
Contributor

just1a-person commented May 8, 2021

Nit: CMD.exe (aka Command Prompt) is a shell, conhost.exe is the terminal

@bl-ue
Copy link

bl-ue commented May 27, 2021

Hey team :) Non-admin mode for MSI and WSL2 browser error can be checked off.

By the way, this amazing extension makes it just too obvious when an item is done ;)

@mislav
Copy link
Contributor

mislav commented May 27, 2021

Non-admin mode for MSI

This is still not resolved, but a wrong issue was linked. I've fixed the issue reference

and WSL2 browser error can be checked off.

Good catch. Thank you @bl-ue!

@just1a-person
Copy link
Contributor

issue task list sceenshot

Automatic winget pkg update can be checked off

@eacp
Copy link

eacp commented Jun 30, 2021

Would ARM support require going for a higher Golang version? One that can build ARM Windows binaries?

@samyakbambole
Copy link

samyakbambole commented Jul 1, 2021

windows 32bit version not supporting.....

@kushagrarathore The team is still working on it. If you still want to install gh, Check this issue - #2182
There are steps on how to install the source code and How to update the ENVs for gh to work on Windows 32-bit

@just1a-person
Copy link
Contributor

blessing some combinations of environments + terminal emulators as first class support targets

That's going to PowerShell/Windows Terminal.

As for WSL, just consider it the same as Linux.

@vilmibm
Copy link
Contributor Author

vilmibm commented Jul 16, 2021

We won't be able to support Windows ARM64 until the next version of Go ships (but yes, you can use 32bit or WSL to get around until then as mentioned)

@chandrawisnu

This comment was marked as spam.

@Rdna123
Copy link

Rdna123 commented Nov 11, 2021

Git flags don't work when using PowerShell 7.1.5 ei gh repo clone cli/cli -- --depth 2 produces error unknown flag: --depth Separate git clone flags with '--'. but using in cmd.exe works

@pxrth9 pxrth9 unpinned this issue Dec 10, 2021
@mislav
Copy link
Contributor

mislav commented Jun 9, 2022

Closing this tracking issue since we've accomplished most of the tasks in this list 🎉

Some items are still tracked separately (e.g. Windows ARM support) but I feel there is no need for a tracking issue anymore.

@mislav mislav closed this as completed Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

13 participants