Installing jenkins is quite simple. The easiest way to install it is through docker. You can check the official documentation for more details. In this documentation I will share with you what I did to install jenkins and setup my ci pipelines.
There are two kinds of versioning supported by jenkins long term support and regular release. You can directly install and run jenkins as war. Here we will try to use the container concept and use docker to help us install jenkins and boot the same.
Checkout the documentation at https://www.jenkins.io/doc/book/installing/. I tried replicating the steps of On macOS and Linux