CLI commands

validate command

The validate command is used to activate and validate your testcode.ai license key. This guide explains how to use this command and manage your license effectively.

Required First Step

License validation is a required first step before you can use any other testcode.ai features. Make sure to complete this step after installation.


Basic usage

The basic usage of the validate command requires your license key:

probe validate YOUR_LICENSE_KEY

Replace YOUR_LICENSE_KEY with the actual license key you received via email when purchasing testcode.ai.

Example

probe validate abc123-def456-ghi789-jkl012

License validation status

You don't need to manually check your license status. testcode.ai automatically:

  • Checks your license before running any command
  • Prompts you to validate if your license is missing or expired

Automatic revalidation

If your license is about to expire, testcode.ai will attempt to revalidate it automatically when you run any command. This requires an internet connection.


License types

testcode.ai (BETA) supports different license types:

Individual license

  • For personal use or individual developers
  • Tied to a single user
  • Includes all basic features

Team license

  • For development teams
  • Can be used by multiple developers
  • Includes all features plus team management

Enterprise license

  • For large organizations
  • Includes advanced features and priority support
  • Custom deployment options

Contact contact@testcode.ai for information about team and enterprise licenses.


Troubleshooting

Common validation issues

Invalid license key

If you receive an "Invalid license key" error:

  • Double-check that you've entered the key correctly
  • Ensure there are no extra spaces or characters
  • Verify that your license hasn't expired

Connection issues

If testcode.ai can't connect to the validation server:

  • Check your internet connection
  • Verify that your firewall isn't blocking the connection
  • Try again later, as the server might be temporarily unavailable

License expired

If your license has expired:

  • Renew your license on the testcode.ai website
  • Run the validate command with your renewed license key

License management

Viewing your license information

While testcode.ai doesn't have a dedicated command to view license information, you can:

  1. Check the license file at ~/.probe/LICENSE
  2. Contact customer support with your license key for detailed information

Upgrading your license

To upgrade from an individual license to a team or enterprise license:

  1. Purchase the upgraded license on the testcode.ai website
  2. Run the validate command with your new license key

Transferring your license

Individual licenses are tied to a specific user. To transfer a license:

  1. Contact support@testcode.ai with your license key
  2. Provide details about the transfer request
  3. Once approved, the new user can validate the license

Privacy and security

testcode.ai's license validation system is designed with privacy in mind:

  • Only your license key is sent to the Keygen validation server
  • No personal information or code is transmitted during validation
  • All communication with the validation server is encrypted
  • The local license file contains only the minimum information needed

For more information, see our Privacy Policy.


Next steps

After validating your license, you're ready to start using testcode.ai:

Previous
How probe works