This work displays both longitudinal and transverse vibrations of magnetically affected inclined single-walled carbon nanotubes for conveying fluid flow. By employing an equivalent continuum structure on the basis of the nonlocal Timoshenko beam model as well as plug-like model for the nanofluidic flow inside the pore, the nonlocal governing equations are obtained accounting for nonlocality, frictionless nature of the inside wall, the Knudsen number, and full longitudinal and transverse interactions of the fluid flow with the single-walled carbon nanotubes. By implementing Galerkin-based assumed mode method, the equations of motion are discretized appropriately and then solved for the unknown dynamical deformation fields. The roles of nanofluidic flow velocity, small-scale parameter, inclination angle of single-walled carbon nanotube, and magnetic field strength on maximum values of longitudinal and transverse displacements are explained and discussed. The results show that the maximum dynamic deflection of the inclined nanotube would lessen by increase of the magnetic field strength. This fact is also more apparent for higher levels of fluid flow velocity. Additionally, variation of the longitudinal magnetic field has a trivial influence on the variation of longitudinal displacement. The predicted results reveal that application of the longitudinal magnetic field could be used as an efficient methodology to reduce the lateral vibrations of single-walled carbon nanotubes as nanofluidic conveyors.