add nm command.