Fix installing error

Fix installing error below :
Error: None of the items in $PATH are writable. Run with sudo or add a $PATH item that you have access to.
This commit is contained in:
hitrust 2018-09-08 19:17:08 +08:00 committed by GitHub
parent 2ae0238020
commit ab3a96f1f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -46,6 +46,10 @@ get Lektor installed with our installation script:
```
$ curl -sf https://www.getlektor.com/install.sh | sh
```
If you are not logged in as superuser, instead you should try this:
```
$ curl -sf https://www.getlektor.com/install.sh | sudo sh
```
If you would like to install Lektor without being prompted, set LEKTOR_SILENT before running the prior command.
For Windows you can use the `command prompt`: