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
Copy file name to clipboardExpand all lines: README.md
+36-2Lines changed: 36 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,9 +30,43 @@ bash setup.sh
30
30
```
31
31
This will install all dependencies in a virtual environment and create a `cvecli` command in your `~/.local/bin` directory.
32
32
33
-
Make sure `~/.local/bin` is in your PATH:
33
+
The setup script also adds `~/.local/bin`to your shell startup file if it is missing. If your current terminal was already open before setup, reload it with:
34
34
```bash
35
-
export PATH="$HOME/.local/bin:$PATH"
35
+
source~/.bashrc
36
+
```
37
+
38
+
If you use zsh, run:
39
+
40
+
```bash
41
+
source~/.zshrc
42
+
```
43
+
44
+
## Uninstall
45
+
To remove the global `cvecli` command and the PATH entry added by setup, run:
46
+
47
+
```bash
48
+
bash uninstall.sh
49
+
```
50
+
51
+
This removes the `~/.local/bin/cvecli` launcher and cleans the PATH line from your shell startup files. It does not delete the repository folder or `myenv`.
52
+
53
+
## Docker Setup
54
+
Build and run the CLI with Docker in one line:
55
+
56
+
```bash
57
+
docker build -t cvecli .&& docker run --rm -it cvecli
58
+
```
59
+
60
+
Run a direct CVE lookup without entering interactive mode:
0 commit comments