Easily create Swift playgrounds from the command line
Ever wish you could just fire up a playground and start coding, without opening Xcode and using the dialogs?
Now you can!
Simply run playground
in your terminal, and you’ll have a playground opened and ready for coding in a matter of milliseconds!
To install playground
, simply run the following command in your terminal of choice:
$ curl https://raw.githubusercontent.com/cameroncooke/playground/master/playground > /usr/local/bin/playground; chmod +x /usr/local/bin/playground
Type playground --help
to show the documentation