The 1989 Chevrolet Cavalier 2.0L engine's crank sensor is located on the
passenger side of the engine block, near the oil pump and distributor. It's usually mounted to the engine block itself, and you'll find it fairly close to the crankshaft's pulley. However, access can be somewhat difficult due to other components in the way. You may need to remove some parts for a clearer view and easier access to replace it.
Keep in mind that the exact location might vary slightly depending on specific engine variations. A shop manual specific to your car's year and engine code would be the most accurate resource.