I use yarn as package-manager but the first time I install nativescript I used;
npm install -g nativescript
Can I update the package using yarn add global nativescript
?
NOTE: I run tns package-manager set yarn
in my projects folder
I use yarn as package-manager but the first time I install nativescript I used;
npm install -g nativescript
Can I update the package using yarn add global nativescript
?
NOTE: I run tns package-manager set yarn
in my projects folder
Yes ;
yarn global add nativescript
and
yarn global upgrade
updates packages which are installed by npm
Please consider checking migrating from npm
Thanks to @Manoj for answer