Skip to content

Authenticating the Lightrun CLI

Before you can start debugging with Lightrun from your CLI, you must first authenticate with your Lightrun account.


This tutorial assumes that you have:

Authenticate in your CLI

  1. Navigate to the folder where your downloaded CLI lightrunc.jar file stored in your terminal.
  2. Run the following command. java -jar lightrunc.jar login.

    You will be redirected to your browser for authentication.

    $ java -jar lightrunc.jar login
    Redirecting to your login URL:<>
    Press Enter to open URL in browser
    Logged in successfully!
  3. Alternatively, you can chose authenticate the Lightrun CLI directly in your terminal.

    java -jar lightrunc.jar login -email <> -password <secretpassword>

    Change to your account username/email and change <secretpassword> to your password.

Last update: March 3, 2024