public function install(string $path = null, bool $isDevMode = true, int $timeout = null)
    {
        if ($isDevMode) {
            $arguments = ['install'];
        } else {
            $arguments = ['install', '--production'];
        }

        if ($timeout === null) {
            $timeout = self::DEFAULT_TIMEOUT;
        }

        $this->executeNpm($arguments, $path, $timeout);
    }