This paper deals with the free and forced, linear and nonlinear vibration of functionally graded (along with thickness) nanotube, considering the non-uniform cross-section that made a two-dimensional functionally graded (2D-FG) structure. The bi-dimensional nanostructure-dependent governing equation is modeled based on the classic beam theory (Euler-Bernoulli), and they are derived by Hamilton’s principle based on nonlocal gradient strain theory considering the von-Kármán nonlinear strain and the external harmonic load. To solve the general equations and calculate the results, the generalized differential quadrature method (GDQM) was used coupled with the numerical iteration method for the nonlinear response. The results are discussed for the different simply-supported and clamped boundary conditions. The 2D-FG nanotube’s behavior is analyzed for different nonlinear amplitudes, nonlocal strain gradient parameters and nonlocal parameters, different rates of cross-sections, and different material distributions.