Update Readmes to use python -m pip install khoj-assistant

Makes it easier to tell pip associated with which python is being
used. Easier to debug when users have different versions of python
installed (e.g 3.10 and 3.11)
This commit is contained in:
Debanjum Singh Solanky 2023-04-16 20:17:20 +07:00
parent 453c84ab79
commit d5000c63e1
2 changed files with 18 additions and 6 deletions

View file

@ -119,10 +119,15 @@ These are the general setup instructions for Khoj.
Its simpler as it can skip the *configure* step below.
### 1. Install
- On Linux/MacOS
```shell
python -m pip install khoj-assistant
```
```shell
pip install khoj-assistant
```
- On Windows
```shell
py -m pip install khoj-assistant
```
### 2. Run

View file

@ -62,9 +62,16 @@ https://user-images.githubusercontent.com/6413477/210486007-36ee3407-e6aa-4185-8
### 1. Setup Backend
Open terminal/cmd and run below command to install and start the khoj backend
```shell
pip install khoj-assistant && khoj --no-gui
```
- On Linux/MacOS
```shell
python -m pip install khoj-assistant && khoj --no-gui
```
- On Windows
```shell
py -m pip install khoj-assistant && khoj --no-gui
```
### 2. Setup Plugin
1. Open [Khoj](https://obsidian.md/plugins?id=khoj) from the *Community plugins* tab in Obsidian settings panel
2. Click *Install*, then *Enable* on the Khoj plugin page in Obsidian