-
Notifications
You must be signed in to change notification settings - Fork 223
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
Document windows challenges #61
Comments
The warning that k6 can't get the terminal width / hide password inputs in git bash should probably have another unique error ID (similar to the one we want to have for the "can't open file" error), so it's easily google-able and leads to the explanation for the bad UX in git bash/mintty |
Just to add a couple more details: According to this comment, support for ConPTY, a new Windows API that handles pty emulation much better and should be seamlessly compatible with CLI apps like k6, was added in Cygwin 3.1.0. So in theory the So currently the behavior on mintty if #1561 is merged will be:
|
Another alternative is running k6 through WSL2, which effectively would mean it would be running in a seamless Linux VM (usually Ubuntu). This could be a reasonable alternative for more experienced users. It's definitely how I would run k6 if I were on windows myself. 😅 |
@na-- this issue was created almost 3 years ago. Is this still an issue, any updates on the challenges detailed? If there are still relevant issues, we could mention them on the Windows installation instructions and detailed them on the list of common installation issues. |
AFAIK, nothing on either the k6 side or the Windows side has changed, so I assume this is still relevant 🤔 but I haven't been a Windows user in a long while, so I am probably not the right person to ask 😅 |
As demonstrated by https://community.k6.io/t/warn-0000-error-getting-terminal-size/767 / grafana/k6#1559, k6 has some troubles when running in "git bash" on Windows. We will fix the panic, but the user experience of k6 will never be quite as good there as on other terminals, so we probably should document something like the the following usage guidelines for windows:
(With the understanding that as soon as we have an official signed package for the windows package manager, that will be the recommended way to install k6.)
cc @imiric
The text was updated successfully, but these errors were encountered: