Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5054

Do something right after someone installed globally my cli package from npm

$
0
0

I wrote a CLI package and deployed it to npm

I want right after some user installed my package: "npm i -g my-cli" to save a config file on the computer

Is there a way to do this?

(I'm not asking how to save it, I'm asking how to do an operation after installation)


Viewing all articles
Browse latest Browse all 5054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>