2002 Jeep Liberty Trouble codes

I have a 2004 and a 1996 Jeep Grand Cherokee and I know it you turn the key 3 times you will get a trouble code. I did it with a friend Liberty and there was no reaction. Is it the same way to test. or did it just mean everything it ok with car

Is the CEL on when the truck s running? If not, there may be no codes. If the CEL is on, you’ll need a code scanner.