How to login to Sidekick with command line interface



Is there a way to login with command line, something like "tns login "? We want to integrate Sidekick cloud build with our Jenkins server. We need command line support.

Thank you,


Hello @Eazy ,

I believe that we have already addressed this question through a separate support channel, nevertheless, I will share the response here as well.

To avoid the browser popup when loging in the NativeScript CLI and thus be able to automate the process for a CI, you should use the following command: $ tns dev-login <username> <password>

I also recommend that you add the $ tns accept eula command to your Jenkins. This way the CI will not break when a new EULA is introduced or when the machine (slave) used to build is changed.

I hope this helps.


Yes. Thanks for the help. It works!