Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

Environment setup

Jules runs each task inside a secure, short-lived virtual machine (VM). This lets it clone your repository, install dependencies, and run tests.

To make sure Jules can do its job effectively, you can provide setup scripts that prepare the environment.

Every Jules VM runs Ubuntu Linux and includes many popular developer tools out of the box:

  • Node.js
  • Python
  • Go
  • Java
  • Rust

You can check installed versions by adding commands like node -v to your setup script and clicking Run to Validate.

To help it install dependencies and run tests:

  1. Open Configure repo environment when starting a task from the main prompt input.
  2. Enter the commands needed to install dependencies and prep your project. For example:
    Terminal window
    npm install
    npm run test

Click Run to Validate to check that your setup script works.

  • You can check installed versions by adding commands like node -v to your setup script and clicking Run to Validate.
  • Always include commands to install packages, run linters, or execute tests.
  • Use the validation button to catch errors early.
  • Keep your setup lightweight and fast
  • Jules runs a clean environment each time.