Dart on Google Cloud Shell

Google Cloud Shell is available for free until the end of 2015. Good opportunity to try it! It starts right away from google cloud console

https://console.developers.google.com/project/

from the Activate Google Cloud Shell icon at the top right

Let's install Dart

$ sudo sh -c 'curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -' # Set up the location of the stable repository.
$ sudo sh -c 'curl https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'
$ sudo apt-get update
$ sudo apt-get install dart
$ dart --version
Dart VM version: 1.12.1 (Tue Sep  8 11:14:08 2015) on "linux_x64"

Somehow pub is not symlinked properly so it is needed to symlink it somewhere (I tend to use /usr/local/bin).

$ sudo ln -s /usr/lib/dart/bin/pub /usr/local/bin/pub
$ pub --version
Pub 1.12.1

yeah! git is (of course) installed so I can checkout any project and work on them from there...well not a fan of vi but at least packages can be tested

Popular posts from this blog

Soving AccessDenied on Google Cloud Storage domain mapping

Fixing "DerInputStream.getLength(): lengthTag=109, too big" in Android Studio

Simple Samba setup on Lubuntu