We have developed a tool for measuring optical aberrations of telescope. We adopt curvature sensing technique and use the least square method for finding the amplitudes of the Zernike polynomials. This tool runs under the PC Linux system and the PC windows system with Linux emulators such as Cygwin. The program for UNIX system is used for optical alignment of 1.8M optical telescope at the Bohyunsan Optical Astronomical Observatory (BOAO) and the PC based program is used for the Korea Astronomy Observatory (KAO) wide field telescope (named NEOPAT-3). Our tool is found to be efficient for precise measurement of the optical aberrations of telescopes.