The process is almost exactly the same for either MacOS or Ubuntu.
Make sure Java is already installed on your device. If not, head to the java download page and download the appropriate version. The Jenkins documentation states that Jenkins works best with Java 11 or higher, but I was able to run it on Java 8.
Installing Jenkins
The process is almost exactly the same for either MacOS or Ubuntu.
java -jar jenkins.war --httpPort=8080
.http://localhost:8080
. Once there, input the password you copied earlier to continue setting up.You can also go to the Getting Started section of the Jenkins website, which outlines many of the same instructions for installation.