In Jupyter notebook, cntrl+ m L toggles code line numbers in current cell but how to bring the code line numbers in JupyterLab?
cntrl
m
L
You can go to View -> Show Line Numbers:
View -> Show Line Numbers
which will display line numbers in the notebook: