Get started

TestMachine CLI can be installed through npm.

Getting started
NPM package

Testmachine is available as a npm package at @testmachine.ai/cli.

You will need to have a version of Node.js ( 18.15.0 or above) in your environment and a valid TestMachine token to run the package.

Then you use a dependency manager like npm, yarn or pnpm to download Testmachine into your project.

To install the TestMachine CLI, run:

npm i @testmachine.ai/cli

To get started with the tool, run the below command to see a list of available commands

npx @testmachine.ai/cli --help

Then you can run it with:

npx @testmachine.ai/cli -t <token> <command> <action>
TestMachine Token

You can find your token here below to make use of TestMachine CLI.

You need to be logged into your TestMachine account to visualize your token. Token is only available for registered users.
Once logged in you can see your TestMachine token here.

What's next?

You can find further installation instruction, CLI commands reference, and usage examples in our documentation pages.

If you have an account, get your token or full access:
Get Token Get full access