Skip to content

Commit

Permalink
docs(cli): remove the need to install using sudo
Browse files Browse the repository at this point in the history
Since the Lacework CLI is being installed at `/usr/local/bin`, there is
no need for users to run the install script via `sudo`.

Signed-off-by: Salim Afiune Maya <[email protected]>
  • Loading branch information
afiune committed May 21, 2020
1 parent 137f87b commit 4534c57
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ reports, external integrations, vulnerability scans, and other operations.

#### Bash:
```
$ curl https://raw.githubusercontent.com/lacework/go-sdk/master/cli/install.sh | sudo bash
$ curl https://raw.githubusercontent.com/lacework/go-sdk/master/cli/install.sh | bash
```

#### Powershell:
Expand Down
2 changes: 1 addition & 1 deletion cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ reports, external integrations, vulnerability scans, and other operations.
### Bash:

```
$ curl https://raw.githubusercontent.com/lacework/go-sdk/master/cli/install.sh | sudo bash
$ curl https://raw.githubusercontent.com/lacework/go-sdk/master/cli/install.sh | bash
```

### Powershell:
Expand Down
2 changes: 1 addition & 1 deletion cli/cmd/cli_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ var promptIconsFunc = func(icons *survey.IconSet) {
// to the latest available version (unix specific command)
func (c *cliState) UpdateCommand() string {
return `
$ curl https://raw.githubusercontent.com/lacework/go-sdk/master/cli/install.sh | sudo bash
$ curl https://raw.githubusercontent.com/lacework/go-sdk/master/cli/install.sh | bash
`
}

0 comments on commit 4534c57

Please sign in to comment.