Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,14 @@ Options:
-h, --help display help for command
```

### npm executable

By default, this tool will use global `npm`. This can be changed by setting environmental variable `npm_execpath` to path of `npm-cli.js` executable, for example:
Comment thread
igord marked this conversation as resolved.
Outdated

```shell
Comment thread
igord marked this conversation as resolved.
Outdated
npm_execpath=node_modules/npm/bin/npm-cli.js cyclonedx-npm ...
```

## Demo

For a demo of _cyclonedx-npm_ see the [demo project][demo_readme].
Expand Down