install.py: install global npm packages and further improve formatting.