소스 검색

Adding install instructions to README

bodicsek 4 년 전
부모
커밋
0f53a91657
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      README.md

+ 5 - 1
README.md

@@ -2,7 +2,11 @@
 
 This tool's main purpose is to scan an npm project's dependency tree for Oracle Open Source Compliance.  
 
-Hence if you run it with the single required parameter `--package` then the result is (only packages eligible for compliance are shown):
+## Install
+1. Download and install nodejs from https://nodejs.org (LTS version is preferred).
+2. `npm install -g --registry https://npm.bodicsek.host @os-tools/npm-dependency-tree`
+## Usage
+If you run it with the single required parameter `--package` then the result is (only packages eligible for compliance are shown):
 ```
 $ npm-dependency-tree --package ./package.json