keen-code 0.23.3 → 0.23.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/bin/keen.js +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,6 +24,16 @@ Install the CLI globally:
|
|
|
24
24
|
npm install -g keen-code
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
+
Update the global install:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
npm install -g keen-code@latest
|
|
31
|
+
# or
|
|
32
|
+
npm update -g keen-code
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
`npm update` without `-g` only updates local project dependencies.
|
|
36
|
+
|
|
27
37
|
Check that the install worked:
|
|
28
38
|
|
|
29
39
|
```bash
|
package/bin/keen.js
CHANGED
|
@@ -10,7 +10,8 @@ const binaryPath = path.join(__dirname, binaryName);
|
|
|
10
10
|
|
|
11
11
|
if (!fs.existsSync(binaryPath)) {
|
|
12
12
|
console.error(
|
|
13
|
-
"[keen] Binary not found. Try reinstalling: npm install -g keen-code"
|
|
13
|
+
"[keen] Binary not found. Try reinstalling: npm install -g keen-code@latest\n" +
|
|
14
|
+
"[keen] If updating an existing global install, run: npm update -g keen-code"
|
|
14
15
|
);
|
|
15
16
|
process.exit(1);
|
|
16
17
|
}
|