using curl instead of wget in install-nw