We present measurements of the elliptic (d="mmlsi2" class="mathmlsrc">data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0370269316303586&_mathId=si2.gif&_user=111111111&_pii=S0370269316303586&_rdoc=1&_issn=03702693&md5=9ca06101309bad52b1ff201bcbd21958" title="Click to view the MathML source">v2dden">de">), triangular (d="mmlsi3" class="mathmlsrc">data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0370269316303586&_mathId=si3.gif&_user=111111111&_pii=S0370269316303586&_rdoc=1&_issn=03702693&md5=4285627d45ccdda4c0d45ff7ed4a256b" title="Click to view the MathML source">v3dden">de">) and quadrangular (d="mmlsi4" class="mathmlsrc">data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0370269316303586&_mathId=si4.gif&_user=111111111&_pii=S0370269316303586&_rdoc=1&_issn=03702693&md5=afabd775fa7380dd028f231d672a093d" title="Click to view the MathML source">v4dden">de">) anisotropic azimuthal flow over a wide range of pseudorapidities (d="mmlsi5" class="mathmlsrc">data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0370269316303586&_mathId=si5.gif&_user=111111111&_pii=S0370269316303586&_rdoc=1&_issn=03702693&md5=8a85b44dae8fb199e19945be549092d8" title="Click to view the MathML source">−3.5<η<5dden">de">). The measurements are performed with Pb–Pb collisions at d="mmlsi1" class="mathmlsrc">data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0370269316303586&_mathId=si1.gif&_user=111111111&_pii=S0370269316303586&_rdoc=1&_issn=03702693&md5=d8ce3f723832d73f2f75919ffd39233c">dth="105" alt="View the MathML source" style="margin-top: -5px; vertical-align: middle" title="View the MathML source" src="/sd/grey_pxl.gif" data-inlimgeid="1-s2.0-S0370269316303586-si1.gif">dden">de"> using the ALICE detector at the Large Hadron Collider (LHC). The flow harmonics are obtained using two- and four-particle correlations from nine different centrality intervals covering central to peripheral collisions. We find that the shape of d="mmlsi6" class="mathmlsrc">data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0370269316303586&_mathId=si6.gif&_user=111111111&_pii=S0370269316303586&_rdoc=1&_issn=03702693&md5=75251f1f46549c175e779ff2b4ae8a8d" title="Click to view the MathML source">vn(η)dden">de"> is largely independent of centrality for the flow harmonics d="mmlsi7" class="mathmlsrc">data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0370269316303586&_mathId=si7.gif&_user=111111111&_pii=S0370269316303586&_rdoc=1&_issn=03702693&md5=ea9a291dd8beedf88a13c9103c79334a" title="Click to view the MathML source">n=2–4dden">de">, however the higher harmonics fall off more steeply with increasing d="mmlsi8" class="mathmlsrc">data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0370269316303586&_mathId=si8.gif&_user=111111111&_pii=S0370269316303586&_rdoc=1&_issn=03702693&md5=8f072ec63cf8a21187020234d0a227ae" title="Click to view the MathML source">|η|dden">de">. We assess the validity of extended longitudinal scaling of d="mmlsi2" class="mathmlsrc">data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0370269316303586&_mathId=si2.gif&_user=111111111&_pii=S0370269316303586&_rdoc=1&_issn=03702693&md5=9ca06101309bad52b1ff201bcbd21958" title="Click to view the MathML source">v2dden">de"> by comparing to lower energy measurements, and find that the higher harmonic flow coefficients are proportional to the charged particle densities at larger pseudorapidities. Finally, we compare our measurements to both hydrodynamical and transport models, and find they both have challenges when it comes to describing our data.