You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Important: npm may not always show lifecycle output clearly during `npm install -g`, depending on the user's npm configuration. The reliable built-in guide is `sfa` or `sfa --help`.
106
121
107
122
If you just want the built-in guide:
108
123
@@ -145,13 +160,20 @@ node ./src/cli/index.js rules list --format json
Copy file name to clipboardExpand all lines: docs/reference/cli.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,14 @@ sfa
16
16
17
17
If you run `sfa` with no arguments, the CLI now prints a built-in quick-start guide instead of a minimal usage block.
18
18
19
-
If you install the package globally from npm, the installer also prints a short post-install quick-start message.
19
+
If you install the package globally from npm, use this as the first-run path:
20
+
21
+
```bash
22
+
npm install -g security-first-aid@latest
23
+
sfa
24
+
```
25
+
26
+
The `sfa` command is the reliable built-in guide. npm may suppress or reduce post-install script output depending on install mode and client configuration.
0 commit comments