I had real issues with NPM when trying to work on a spotty network connection and offline. It really really wanted to go and hit the network over and over to check versions.
I was actually thinking more like maven where it has a local cache that it checks first and like everything should do and not bother with the net if there is no connection, which no desktop app seems to be able to do.