node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »


Studio CLI

JavaScript Studio is a cloud service that finds errors in JavaScript programs by dynamically evaluating the source code in a custom runtime. If you do not have an account, log in with GitHub at

This command line tool encrypts and uploads source code to the JavaScript Studio web service, fetches the error report and prints the results.


npm install @studio/cli -g


The CLI will try to load a configuration file in these locations:

  • .studio in the current directory
  • .studio in your home directory
  • $XDG_CONFIG_HOME/studio
  • .config/studio in your home directory

Copy your personal configuration from into your preferred location. Never check this file into version control.

Environment variables

The access token and the encryption secret can also be specified via environment variables:

  • STUDIO_TOKEN: Your access token.
  • STUDIO_SECRET: Your encryption secret.

Environment variables take precedence over configured values. If STUDIO_TOKEN is defined, the .studio file is optional.

Available options

These properties can be configured:

  • token: Your access token (required).
  • secret: Your encryption secret. If provided, uploads are encrypted.
  • api: The API endpoint to use. Defaults to


Run studio --help for all available options. A usage guide can be found at

Related modules



Made with ❤️ on 🌍