Install k6 as per the official documentation.
Modify configuration in simple.js as required. Consult the documentation for more information on how to make the required changes.
Run it:
k6 run simple.js
(optional) You can add additional parameters as per the documentation.