Using npm
you can use not locally installed package (missing in local node_modules
) like this
npx @angular/cli ng new
which will install cli to the cache and use it (node_modules
in project are intact)
can I do this with yarn
??
Using npm
you can use not locally installed package (missing in local node_modules
) like this
npx @angular/cli ng new
which will install cli to the cache and use it (node_modules
in project are intact)
can I do this with yarn
??