src/Console/Commands/Version.php
public function handle()
    {
        if (! SetupHelper::isInstalled()) {
            $this->line(PHP_EOL.'<error>[✘]</error> Canvas has not been installed yet.');
            $this->line(PHP_EOL.'For installation instructions, please visit cnvs.readme.io.'.PHP_EOL);
            die();
        }

        // Grab version info...
        $currentVersion = $oldVersion = $this->canvasVersion();
        $latestVersion = $this->latestVersion();

        // Display results
        $this->line('');
        $headers = ['Installed Version', 'Latest Version'];
        $data = [[$currentVersion, $latestVersion]];
        $this->table($headers, $data);
        $this->line(PHP_EOL.'For more information on upgrading Canvas, please visit cnvs.readme.io/docs/upgrade-guide.'
            .PHP_EOL);
    }
public function handle()
    {
        if (! SetupHelper::isInstalled()) {
            $this->line(PHP_EOL.'<error>[✘]</error> Canvas has not been installed yet.');
            $this->line(PHP_EOL.'For installation instructions, please visit cnvs.readme.io.'.PHP_EOL);
            die();
        }

        // Grab version info...
        $currentVersion = $oldVersion = $this->canvasVersion();
        $latestVersion = $this->latestVersion();

        // Display results
        $this->line('');
        $headers = ['Installed Version', 'Latest Version'];
        $data = [[$currentVersion, $latestVersion]];
        $this->table($headers, $data);
        $this->line(PHP_EOL.'For more information on upgrading Canvas, please visit cnvs.readme.io/docs/upgrade-guide.'
            .PHP_EOL);
    }
Execute the console command.

@return mixed