Skip to content

Commit d3092d7

Browse files
authored
Remove extra $ symbol from commands in readme.md (#105)
1 parent 145498c commit d3092d7

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ For the Linux binary on WSL2, you can use the same command as for Linux.
7474
### Install xk6
7575

7676
```bash
77-
$ go install go.k6.io/xk6/cmd/xk6@latest
77+
go install go.k6.io/xk6/cmd/xk6@latest
7878
```
7979

8080
This will install the `xk6` binary in your `$GOPATH/bin` directory.
@@ -100,7 +100,7 @@ As usual with `go` command, the `xk6` command will pass the `GOOS`, `GOARCH`, an
100100
Syntax:
101101

102102
```
103-
$ xk6 build [<k6_version>]
103+
xk6 build [<k6_version>]
104104
[--output <file>]
105105
[--with <module[@version][=replacement]>...]
106106
[--replace <module=replacement>...]
@@ -115,29 +115,29 @@ $ xk6 build [<k6_version>]
115115
Examples:
116116

117117
```bash
118-
$ xk6 build \
118+
xk6 build \
119119
--with github.com/grafana/xk6-browser
120120

121-
$ xk6 build v0.35.0 \
121+
xk6 build v0.35.0 \
122122
--with github.com/grafana/[email protected]
123123

124-
$ xk6 build \
124+
xk6 build \
125125
--with github.com/grafana/xk6-browser=../../my-fork
126126

127-
$ xk6 build \
127+
xk6 build \
128128
--with github.com/grafana/xk6-browser=.
129129

130-
$ xk6 build \
130+
xk6 build \
131131
--with github.com/grafana/[email protected]=../../my-fork
132132

133133
# Build using a k6 fork repository. Note that a version is required if
134134
# XK6_K6_REPO is a URI.
135-
$ XK6_K6_REPO=github.com/example/k6 xk6 build master \
135+
XK6_K6_REPO=github.com/example/k6 xk6 build master \
136136
--with github.com/grafana/xk6-browser
137137

138138
# Build using a k6 fork repository from a local path. The version must be omitted
139139
# and the path must be absolute.
140-
$ XK6_K6_REPO="$PWD/../../k6" xk6 build \
140+
XK6_K6_REPO="$PWD/../../k6" xk6 build \
141141
--with github.com/grafana/xk6-browser
142142
```
143143

@@ -154,15 +154,15 @@ Also note that because of the way xk6 works, vendored dependencies (the vendor d
154154
Syntax:
155155

156156
```
157-
$ xk6 <args...>
157+
xk6 <args...>
158158
```
159159
- `<args...>` are passed through to the `k6` command.
160160

161161
For example:
162162

163163
```bash
164-
$ xk6 version
165-
$ xk6 run -u 10 -d 10s test.js
164+
xk6 version
165+
xk6 run -u 10 -d 10s test.js
166166
```
167167

168168
The race detector can be enabled by setting the env variable `XK6_RACE_DETECTOR=1` or through the `XK6_BUILD_FLAGS` env variable.

0 commit comments

Comments
 (0)