Install the command line tool
Then you login :
Then you create a script :
clasp create YOURSCRIPT
NB: You need to create the folder where you put your code first
You can open it online using :
NB: Seems like you need to at least open it this way once before you can pull and push.
Then you can pull it :
This will pull all the files you just created using the
clasp open command
Then after you make local modifications you must use :
clasp version "First version"
clasp deploy 1 "First deployment"