register env command.