Update installation instructions for fleetctl (#36351)
Removed sudo from npm install command and added guidance that it may be required in specific scenarios.
This commit is contained in:
@@ -14,6 +14,12 @@ Download and install [Node.js](https://nodejs.org/en).
|
||||
|
||||
Install fleetctl with npm (included in Node.js).
|
||||
|
||||
```sh
|
||||
npm install -g fleetctl
|
||||
```
|
||||
|
||||
If you see an error such as `Please try running this command again as root/Administrator` or `Permission denied`, run this command instead: `sudo npm install -g fleetctl`.
|
||||
|
||||
```sh
|
||||
sudo npm install -g fleetctl
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user