Clone YOLOv5 repository git clone https://github.com/ultralytics/yolov5.git Navigate to the YOLOv5 directory cd yolov5 Install YOLOv5 requirements pip install -U -r requirements.txt Return to the project directory cd .. Install Roboflow and YOLOv5 pip install roboflow yolov5