diff --git a/test/sharness/t0113-gateway-symlink/README.md b/test/sharness/t0113-gateway-symlink/README.md
index 350405e321ba707d7120c8433cb55662659d623a..31a257bdded99d2e12cbeeef526ef4bc47046b67 100644
--- a/test/sharness/t0113-gateway-symlink/README.md
+++ b/test/sharness/t0113-gateway-symlink/README.md
@@ -6,6 +6,7 @@
 generated with:
 
 ```sh
+# using ipfs version 0.18.1
 mkdir testfiles &&
 echo "content" > testfiles/foo &&
 ln -s foo testfiles/bar &&
diff --git a/test/sharness/t0114-gateway-subdomains/README.md b/test/sharness/t0114-gateway-subdomains/README.md
index 8f0075ccd7ee2cad402ddf387b0e800cc6773eaf..611bd0ed5adaab817af55cfe626bceffa7f1951b 100644
--- a/test/sharness/t0114-gateway-subdomains/README.md
+++ b/test/sharness/t0114-gateway-subdomains/README.md
@@ -6,6 +6,8 @@
 generated with:
 
 ```sh
+# using ipfs version 0.18.1
+
 # CIDv0to1 is necessary because raw-leaves are enabled by default during
 # "ipfs add" with CIDv1 and disabled with CIDv0
 CID_VAL="hello"
diff --git a/test/sharness/t0115-gateway-dir-listing/README.md b/test/sharness/t0115-gateway-dir-listing/README.md
index 8b6e332750d0aea52f18ab72b33448beb3367746..937438bcd657cb6ac17c16962e0870c257c12c11 100644
--- a/test/sharness/t0115-gateway-dir-listing/README.md
+++ b/test/sharness/t0115-gateway-dir-listing/README.md
@@ -6,6 +6,7 @@
 generated with:
 
 ```sh
+# using ipfs version 0.18.1
 mkdir -p rootDir/ipfs &&
 mkdir -p rootDir/ipns &&
 mkdir -p rootDir/api &&
diff --git a/test/sharness/t0116-gateway-cache/README.md b/test/sharness/t0116-gateway-cache/README.md
index 91c4389418d73fc6a0b90be4baef01e081e29656..8b44fe640b748c160bf6b3f40a385dc190b985db 100644
--- a/test/sharness/t0116-gateway-cache/README.md
+++ b/test/sharness/t0116-gateway-cache/README.md
@@ -6,6 +6,7 @@
 generated with:
 
 ```sh
+# using ipfs version 0.18.1
 mkdir -p root2/root3/root4 &&
 echo "hello" > root2/root3/root4/index.html &&
 ROOT1_CID=$(ipfs add -Qrw --cid-version 1 root2)
diff --git a/test/sharness/t0117-gateway-block/README.md b/test/sharness/t0117-gateway-block/README.md
index 8ca237345a7c7e2366d028e638f9a70cd4105f9f..4ce37ae086f190b94229d7e37275d76180d429f8 100644
--- a/test/sharness/t0117-gateway-block/README.md
+++ b/test/sharness/t0117-gateway-block/README.md
@@ -6,6 +6,7 @@
 generated with:
 
 ```sh
+# using ipfs version 0.18.1
 mkdir -p dir &&
 echo "hello application/vnd.ipld.raw" > dir/ascii.txt &&
 ROOT_DIR_CID=$(ipfs add -Qrw --cid-version 1 dir) &&
diff --git a/test/sharness/t0118-gateway-car/README.md b/test/sharness/t0118-gateway-car/README.md
index f19494833c54b6bfcdb79c709a39d785b4398a6c..7b81e543bc1b99331eb30f6727d15eeba38d64c8 100644
--- a/test/sharness/t0118-gateway-car/README.md
+++ b/test/sharness/t0118-gateway-car/README.md
@@ -13,7 +13,8 @@
 
 generated with:
 
-```shell
+```sh
+# using ipfs version 0.18.1
 mkdir -p subdir &&
 echo "hello application/vnd.ipld.car" > subdir/ascii.txt &&
 ROOT_DIR_CID=$(ipfs add -Qrw --cid-version 1 subdir) &&
diff --git a/test/sharness/t0123-gateway-json-cbor/README.md b/test/sharness/t0123-gateway-json-cbor/README.md
index 0d9f0e1e1961cc0255a4b325e1c1668671f98d9e..4e83f42a1618936acff9b92c93f83319ca7b0fd0 100644
--- a/test/sharness/t0123-gateway-json-cbor/README.md
+++ b/test/sharness/t0123-gateway-json-cbor/README.md
@@ -14,6 +14,7 @@
 generated with:
 
 ```sh
+# using ipfs version 0.18.1
 mkdir -p rootDir/ipfs &&
 mkdir -p rootDir/ipns &&
 mkdir -p rootDir/api &&
diff --git a/test/sharness/t0400-api-no-gateway/README.md b/test/sharness/t0400-api-no-gateway/README.md
index 83d184d4a42b63a38dba3dbb49eac1af294419b5..32222d41b842c020c5c1fe97ac88e9cc7415d4c6 100644
--- a/test/sharness/t0400-api-no-gateway/README.md
+++ b/test/sharness/t0400-api-no-gateway/README.md
@@ -6,6 +6,7 @@
 generated with:
 
 ```sh
+# using ipfs version 0.18.1
 HASH=$(echo "testing" | ipfs add -q)
 ipfs dag export $HASH > fixtures.car