Skip to content

Document windows challenges #61

Open
@na--

Description

@na--

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:

If you're using git bash or mintty as your terminal on Windows, you might not get the best user experience out of k6. Consider using a different terminal like Windows Terminal, PowerShell or Cmder. Alternatively, to work around the issues, you can run k6 through winpty, which should already be preinstalled in your Git Bash environment: winpty k6 run script.js.

If you're using the Windows Subsystem for Linux (WSL), you are probably going to get better experience by using the Linux k6 binary above.

For all other cases of running k6 on Windows, the normal k6 Windows binary / .msi package should work fine.

(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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: OSS ContentImprovements or additions to community/oss documentationType: needsMaintainerHelpGood issue for k6 maintainers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions