diff --git a/docs/development/configuration.md b/docs/development/configuration.md index 549c44712c0c32b9c0e5cdad16039a0766ac603b..2de6af530c94dea7b67b62e75e1a26f61d10cad0 100644 --- a/docs/development/configuration.md +++ b/docs/development/configuration.md @@ -46,7 +46,7 @@ module.exports = { ### CLI ``` -$ node renovate --help +node renovate --help ``` To configure any `<list>` items, separate with commas. diff --git a/docs/development/design-decisions.md b/docs/development/design-decisions.md index 115488804e6ee1227481e673301189d6c206f2bc..a9c66f6ea200a5818e9d5419c9fe4f89be84499e 100644 --- a/docs/development/design-decisions.md +++ b/docs/development/design-decisions.md @@ -90,7 +90,7 @@ String templates (e.g. commit or PR name) are not configurable via CLI options, If you must configure via CLI, use an environment variable instead. e.g. ```sh -$ RENOVATE_BRANCH_NAME=foo renovate +RENOVATE_BRANCH_NAME=foo renovate ``` Alternatively, consider using a Configuration File. diff --git a/docs/development/local-development.md b/docs/development/local-development.md index 902117f78f1a0f120d764b54cc9388f386372430..c81a6ebe2957e50208e1cf5b8e566a674798ec03 100644 --- a/docs/development/local-development.md +++ b/docs/development/local-development.md @@ -185,7 +185,7 @@ It's usually easier to have the logs in a file that you can open with a text edi You can use a command like this to put the log messages in a file: ``` -$ rm -f debug.log && yarn start myaccount/therepo --log-level=debug > debug.log +rm -f debug.log && yarn start myaccount/therepo --log-level=debug > debug.log ``` The example command will delete any existing `debug.log` and then save Renovate's output to a new `debug.log` file. diff --git a/docs/usage/self-hosting.md b/docs/usage/self-hosting.md index 6ba96c118225fc1a883cc976fc9eb693fa4a013a..6f883835865479de2d81096440009be33d0760d2 100644 --- a/docs/usage/self-hosting.md +++ b/docs/usage/self-hosting.md @@ -5,14 +5,14 @@ ### npmjs ```sh -$ npm install -g renovate +npm install -g renovate ``` Renovate does not embed `npm`, `pnpm` and `yarn` as its own dependencies. If you want to use these package managers to update your lockfiles, you must ensure that the correct versions are already installed globally. ```sh -$ npm install -g yarn pnpm +npm install -g yarn pnpm ``` The same goes for any other third party binary tool like `gradle` or `poetry` - you need to make sure they are installed and the appropriate version before running Renovate. @@ -24,10 +24,10 @@ It builds `latest` based on the `master` branch and all semver tags are publishe For example, all the following are valid tags: ```sh -$ docker run --rm renovate/renovate -$ docker run --rm renovate/renovate:24.53.0 -$ docker run --rm renovate/renovate:24.53 -$ docker run --rm renovate/renovate:24 +docker run --rm renovate/renovate +docker run --rm renovate/renovate:24.53.0 +docker run --rm renovate/renovate:24.53 +docker run --rm renovate/renovate:24 ``` Do not use the example tags listed above, as they will be out-of-date. @@ -37,7 +37,7 @@ If you want to configure Renovate using a `config.js` file then map it to `/usr/ For example: ```sh -$ docker run --rm -v "/path/to/your/config.js:/usr/src/app/config.js" renovate/renovate +docker run --rm -v "/path/to/your/config.js:/usr/src/app/config.js" renovate/renovate ``` ### Kubernetes