YDLiDAR Library

I am a high school student who has purchased the YDLiDAR X4 Pro for a project. I am having trouble cloning and installing the YDLiDAR library from the SDK. Is there any advice or resources that you can offer me? Or better yet, is there someone that can walk me through the process?