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

Update Windows commands #1582

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/sources/v0.50.x/get-started/running-k6.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ To run a simple local script:
```

```windows
PS C:\> docker run --rm -i -v ${PWD}:/app -w /app grafana/k6 init
PS C:\> k6 new
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
PS C:\> k6 new
PS C:\> docker run --rm -i -v ${PWD}:/app -w /app grafana/k6 new

```

{{< /code >}}
Expand All @@ -64,7 +64,7 @@ To run a simple local script:
```

```windows
PS C:\> cat script.js | docker run --rm -i grafana/k6 run -
PS C:\> k6 run script.js
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
PS C:\> k6 run script.js
PS C:\> cat script.js | docker run --rm -i grafana/k6 run -

```

{{< /code >}}
Expand All @@ -84,7 +84,7 @@ $ docker run --rm -i grafana/k6 run --vus 10 --duration 30s - <script.js
```

```windows
PS C:\> cat script.js | docker run --rm -i grafana/k6 run --vus 10 --duration 30s -
PS C:\> k6 run --vus 10 --duration 30s script.js
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
PS C:\> k6 run --vus 10 --duration 30s script.js
PS C:\> cat script.js | docker run --rm -i grafana/k6 run --vus 10 --duration 30s -

```

{{< /code >}}
Expand Down Expand Up @@ -155,7 +155,7 @@ $ docker run --rm -i grafana/k6 run - <script.js
```

```windows
PS C:\> cat script.js | docker run --rm -i grafana/k6 run -
PS C:\> k6 run script.js
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
PS C:\> k6 run script.js
PS C:\> cat script.js | docker run --rm -i grafana/k6 run -

```

{{< /code >}}
Expand Down