Only register command on Windows & Linux