Pipes conveying fluid are widely applied in heat exchanger systems, nuclear power plants, chemical process plants, marine risers, etc. However, the excessive piping vibration can cause leaks, fatigue failures and noises. Thus, investigations on the vibration suppression of pipes are of theoretical and practical significance. In this study, we construct a theoretical model to investigate the nonlinear dynamics of a simply-supported pipe conveying pulsating fluid equipped with a nonlinear energy sink (NES). By taking the deflection-dependent axial force into consideration, the nonlinear governing equations of the system are obtained. Based on the Galerkin method and the Runge-Kutta algorithm, the resulting equations are discretized and solved. Numerical results for the nonlinear dynamical responses of the pipes with and without NES are presented. It is found that pipe vibration can be effectively suppressed by the NES. Comparing with the pipe without NES under the same condition, the stability and nonlinear vibration characteristics of the pipe are greatly affected when the NES is attached. The effects of NES parameters on the stability and vibration response of the system are elaborately addressed. Numerical results show that an increase in the nonlinear (cubic) stiffness k, dissipation sor mass ratio e can improve the suppression of pipe vibration; and the improvement in the suppression of pipe vibration by increasing dissipation s is more significant than those by increasing other NES parameters. It shows that the best mounting position for the NES to reduce pipe vibration is at the midpoint of the pipe. In addition, it is found that an increase in dissipation scan shrink the unstable region in the frequency domain, while other NES parameters have little effects on the instability. Therefore, dissipation s is the most effective parameter for the nonlinear energy sink to control the vibration of pipes conveying fluid.