Check AdonisJS version


#1

How to check the AdonisJS version I am running?
I tried adonis --version but I am getting NA which is not meaningful to me.

Thank you
Billal Begueradj


#2

Are you running the command inside the project root?


#3

@virk Yes, I do (I checked again to be sure, same result) . Thank you.


#4

@virk

I guess this occurs only when I run adons --version on this repository I cloned. So I think I should close this question.

Thank you
Billal Begueradj


#5

If you installed @adonis/cli as a global tool then is enough to do this:

adonis --version

After a few you will get a response like this

4.0.10