Skip to content

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsuresh authored Feb 13, 2025
1 parent e010075 commit ecb34bf
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions docs/install/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ MLCFlow needs `python>=3.7`, `python3-pip`, `python3-venv` and `git` installed o

=== "Ubuntu"
```bash
sudo apt-get install -y python3-dev python3-venv python3-pip git wget sudo unzip
sudo apt-get install -y python3-dev python3-venv python3-pip git wget sudo unzip curl
```
=== "RedHat"
```bash
sudo dnf install -y python3-dev python3-pip git wget sudo unzip binutils
sudo dnf install -y python3-dev python3-pip git wget sudo unzip binutils curl
```
=== "Arch"
```bash
sudo pacman -Sy python python-pip git wget sudo binutils
sudo pacman -Sy python python-pip git wget sudo binutils curl
```
=== "macOS"
```bash
brew install python git wget binutils
brew install python git wget binutils curl
```
=== "Windows"

Expand All @@ -35,17 +35,25 @@ MLCFlow needs `python>=3.7`, `python3-pip`, `python3-venv` and `git` installed o
## Activate a Virtual ENV for MLCFlow (Optional)
This step is not mandatory. But the latest `pip` install requires this or else will need the `--break-system-packages` flag while installing.

```bash
python3 -m venv mlcflow
source mlcflow/bin/activate
```
=== "Unix"
```bash
python3 -m venv mlcflow
. mlcflow/bin/activate
```

=== "Windows"
```bash
python3 -m venv mlcflow
mlc\Scripts\activate.bat
git config --system core.longpaths true
```

## Install MLCFLow

If you are not using virtual ENV for installation, the latest `pip` install requires the `--break-system-packages` flag while installing.

```bash
pip install mlcflow
pip install mlcflow
```

> [!IMPORTANT]
Expand Down

0 comments on commit ecb34bf

Please sign in to comment.