Skip to content

Running Renovate

As a Renovate end user, there are two main categories of use:

  • You self-host Renovate, e.g. by running the pre-built Docker image, or
  • Someone else is hosting Renovate, and you install/configure it for the repositories you choose

If someone else is hosting Renovate for you, or you are using the Mend Renovate App on GitHub, then you can skip ahead to the installing & onboarding page.

Self-Hosting Renovate

Self-hosting Renovate means that you are the "administrator" of the bot, which entails:

  • You provide infrastructure for it to run on,
  • You provision its global config,
  • You ensure it's running regularly,
  • You ensure Renovate bot itself is updated

Read our section on Self-hosting on Windows to prevent line endings from confusing Renovate bot.

Available distributions

npm package (CLI)

Renovate's Open Source CLI is built and distributed as the npm package renovate. You can run this directly in any Node.js environment - even via npx - and it will process all the repositories it is configured with, before exiting. When you install Renovate from npm it naturally does not come bundled with any third-party tools or languages such as Ruby, Python, Composer, Bundler, Poetry, etc. If you need Renovate to support any non-npm lock files like Bundler then you'll need to make sure all required third-party tools are pre-installed in the same environment alongside Renovate before you run it.

The renovate npm package is compatible with all of Renovate's supported platforms.

Renovate requires Node.js >=14.15.0 and Git >=2.33.0.

Docker image

The renovate npm package is also distributed via pre-built Node.js images on Docker Hub (renovate/renovate).

The slim image contains only Node.js so works if either:

  • You do not require any additional package managers, or
  • You map the Docker socket into the container so that Renovate can dynamically invoke "sidecar" images when necessary

The "full" image (which latest defaults to) has every package manager which Renovate supports already preinstalled. This approach works best for many, but does have the following downsides:

  • It only has one version of each language/manager - usually the latest
  • It's several gigabytes in size

The renovate/renovate Docker images are compatible with all of Renovate's supported platforms.

GitHub Action

Renovate's npm tool is also provided as a pre-prepared GitHub Action on renovatebot/github-action. Details on how to use it can be found in the repository.

GitLab Runner

The Renovate team provide a "Renovate Runner" project to make it easier to run Renovate as a CI pipeline job. This supports both as well as self-hosted GitLab. Details for how it works can be found in the project.

Mend Renovate On-Premises

Mend Renovate On-Premises (WSOP) started out as a commercial product "Renovate Pro", but was renamed and made free to use when Renovate became a part of Mend (formerly WhiteSource) in 2019. It is built similarly to the "full" Renovate image described above, but with these differences:

  • It is a stateful app and does not exit once it's processed all repositories
  • It is installed as an App on GitHub, and behaves similarly on GitLab - for example responding to webhooks
  • It includes a priority job queue which prioritizes events like merged PRs over scheduled jobs
  • It is released every 1-2 months in a slower, more stable cadence than Renovate OSS, which releases on every commit
  • It's licensed using an end-user license agreement (EULA) and not the Affero General Public License (AGPL)

WSOP supports GitHub (both and GitHub Enterprise Server) as well as GitLab self-hosted. Documentation can be found in its public GitHub repository whitesource/renovate-on-prem.

Mend Remediate

Mend Remediate is an extension of WSOP available for Mend commercial customers, with full enterprise support. It is integrated with Mend's vulnerability detection capabilities and additionally supports the capability of "horizontal" scalability - the ability to configure many Renovate "worker" containers which share a common job queue in order to not conflict with each other.

Mend Remediate supports GitHub Enterprise Server, GitLab self-hosted, and Bitbucket Server.

Forking Renovate app

"Forking Renovate" is the sister app to the Mend Renovate App on The difference is that Forking Renovate does not require write permissions to create branches within the repo, and instead submits PRs from its own fork. Because of how it works, it functions on public repositories only and additionally cannot support automerge capabilities.

Install Forking Renovate from GitHub App.


Forking Renovate needs only read level access to the code of any repository it runs on.


If you use Forking Renovate, you'll miss out on these features of the regular Renovate app:

  • Automerge is not supported
  • The baseBranches config option is not supported
  • The app dashboard ( is currently not supported

Hosting Renovate

Once you have decided on a Renovate distribution, you need to decide where and how to run it.

For the GitHub Action and GitLab Runner approaches, they will naturally run on their respective CI infrastructure. For the npm package approach or Docker images, you will need some form of VM or container infrastructure to run Renovate on.

In all the above cases you will need to make sure that some form of cron-like capability exists to schedule when Renovate runs. In general we recommend to run Renovate hourly if possible.

Mend Renovate On-Premises and Mend Remediate both run as long-lived containers so do not need any additional cron-like concept as it is built-in.

Global config

Renovate's server-side/admin config is referred to as its "global" config, and can be specified using either a config file, environment variables, or CLI parameters. By default Renovate checks if a file named config.js is present. Any other (*.js, *.json, *.json5, *.yaml or *.yml) file is supported, when you reference it with the RENOVATE_CONFIG_FILE environment variable (e.g. RENOVATE_CONFIG_FILE=config.yaml).

Some config is global-only, meaning that either it is only applicable to the bot administrator or it can only be controlled by the administrator and not repository users. Those are documented in Self-hosted Configuration. Your bot's global config can include both global as well as non-global configuration options, while user/repo config can only include non-global options. It is recommended to keep as much of the non-global config as possible in repo config files in order to provide maximum transparency to end users.

If you are configuring using environment variables, there are two possibilities:

  • Upper-cased, camel-cased, RENOVATE_-prefixed single config options like RENOVATE_TOKEN=abc123 or
  • Set RENOVATE_CONFIG to a stringified version of the full JSON config, e.g. RENOVATE_CONFIG='{"token":"abc123","gitAuthor":""}'

If you combine both of the above then any single config option in the environment variable will override what's in RENOVATE_CONFIG.


It's also possible to change the default prefix from RENOVATE_ using ENV_PREFIX. e.g. ENV_PREFIX=RNV_ RNV_TOKEN=abc123 renovate.

Using config.js

If you use a config.js, it will be expected to export a configuration via module.exports. The value can be either a plain JavaScript object like in this example where config.js exports a plain object:

module.exports = {
  token: 'abcdefg',

config.js may also export a Promise of such an object, or a function that will return either a plain JavaScript object or a Promise of such an object. This allows one to include the results of asynchronous operations in the exported value. An example of a config.js that exports an async function (which is a function that returns a Promise) can be seen in a comment for #10011: Allow autodiscover filtering for repo topic and more examples can be seen in file.spec.ts.


Regardless of platform, you need to select a user account for renovate to assume the identity of, and generate a Personal Access Token. We recommend you use @renovate-bot as username if you're on a self-hosted server where you can set all usernames. We also recommend you configure config.gitAuthor with the same identity as your Renovate user, e.g. like "gitAuthor": "Renovate Bot <>".


We recommend you use a single, dedicated username for your Renovate bot. Never share the Renovate username with your other bots, as this can cause flip-flopping.


Read the platform-specific docs to learn how to setup authentication on your platform: token for release notes

If you are running on any platform except, it's important to also configure the environment variable GITHUB_COM_TOKEN containing a Personal Access Token for This account can actually be any account on GitHub, and needs only read-only access. It's used when fetching release notes for repositories in order to increase the hourly API limit. It's also OK to configure the same as a host rule instead, if you prefer that.


If you're using Renovate in a project where dependencies are loaded from (such as Go modules hosted on GitHub) it is highly recommended to add a token. Otherwise you will exceed the rate limit from the API, which will lead to Renovate closing and reopening PRs because it could not get reliable info on updated dependencies.

Self-hosting examples

For more examples on running Renovate self-hosted, please read our Self-hosted examples page.