From a8079a0a6615fc7d7fd4bc17aaa1aa2b6149bad6 Mon Sep 17 00:00:00 2001 From: pmichaud Date: Tue, 28 Aug 2012 00:41:48 -0500 Subject: Move build/binary/darwin_dmg to ports/ . --- ports/darwin_dmg/HOW_TO_INSTALL.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 ports/darwin_dmg/HOW_TO_INSTALL.txt (limited to 'ports/darwin_dmg/HOW_TO_INSTALL.txt') diff --git a/ports/darwin_dmg/HOW_TO_INSTALL.txt b/ports/darwin_dmg/HOW_TO_INSTALL.txt new file mode 100644 index 0000000..ac33a06 --- /dev/null +++ b/ports/darwin_dmg/HOW_TO_INSTALL.txt @@ -0,0 +1,21 @@ +1. Drag the Rakudo_Star folder onto the Applications folder. +2. In a Terminal window, type this command: + alias p6='/Applications/Rakudo_Star/bin/perl6' + ( This step only affects this one window; to make available to all + future sessions, add the line to your ~/.bash_profile file. ) + +You can now run a Perl 6 program like this: + p6 filename +or run code directly from the command-line with the -e option: + p6 -e 'your code here' + +Try this: + p6 -e 'say "Hello, world!";' + +You can always skip the alias and use the full path: + /Applications/Rakudo_Star/bin/perl6 -e 'say "Hello, world!";' +or alternately, add Rakudo Star to your path: + PATH=$PATH:/Applications/Rakudo_Star/bin + perl6 -e 'say "Hello, world!";' + +See also README in /Applications/Rakudo_Star/docs/rakudo/README . -- cgit v1.1