The global demand for protein is on an upward trajectory, and peanut protein powder has emerged as a significant player, owing to its affordability and high quality, with great future market potential. However, the industry currently lacks efficient methods for rapid quality testing. This research paper addressed this gap by introducing a portable device with employed near-infrared spectroscopy (NIR) to quickly assess the quality of peanut protein powder. The principal component analysis (PCA), partial least squares (PLS), and generalized regression neural network (GRNN) methods were used to construct the model to further enhance the accuracy and efficiency of the device. The results demonstrated that the newly established NIR method with PLS and GRNN analysis simultaneously predicted the fat, protein, and moisture of peanut protein powder. The GRNN model showed better predictive performance than the PLS model, the correlation coefficient in calibration (Rcal) of the fat, the protein, and the moisture of peanut protein powder were 0.995, 0.990, and 0.990, respectively, and the residual prediction deviation (RPD) were 10.82, 10.03, and 8.41, respectively. The findings unveiled that the portable NIR spectroscopic equipment combined with the GRNN method achieved rapid quantitative analysis of peanut protein powder. This advancement holds a significant application of this device for the industry, potentially revolutionizing quality testing procedures and ensuring the consistent delivery of high-quality products to fulfil consumer desires.