1 Installation
1.1 Prerequisites
Pollen will run on OS X, Linux, or Windows.
Pollen is not a self-contained GUI program like Adobe InDesign. It’s a software package that runs atop the Racket language environment (also a free download).
Your three main tools in Pollen will be a text editor (for those starting out, I recommend DrRacket: The Racket Programming Environment), a terminal window, and a web browser. The terminal commands you’ll be using are simple, but if you haven’t used your terminal window before, this is the moment to learn where it is.
After the initial download, Pollen does not require a network connection.
1.2 How to install
Download and install Racket, which includes DrRacket. (Of course, you’re welcome to use your preferred text editor, but the tutorials will assume you’re using DrRacket.)
Linux and OS X users: update your system PATH to include "/path-to-racket-installation/bin/". Then, from the terminal, you’ll be able to run racket and raco (see raco: Racket Command-Line Tools).
OS X users who haven’t altered your PATH before: don’t panic. These instructions are simple and accurate.
To check that you did it correctly, try typing racket on your command line, and you should see something like this:
~ : racket
Welcome to Racket v.6.3.90.900.
>
Type ctrl+D to exit.
Windows users, when you see instructions that reference raco — like the one below — I’ll trust you to convert into the appropriate command for your system — assuming defaults, it’s likely to be "C:\Program Files\Racket\raco" (include the surrounding quotes in the command).
- Then, from the command line, install Pollen:raco pkg install pollen
To check that it worked, try typing raco pollen version on the command line, and you should see something like this:
~ : raco pollen version
1.0.914.956
~ :
Alternatively, you can install Pollen from inside DrRacket with the File > Install Package ... command.
Either way, Pollen’s documentation will be automatically installed.
- After that, you can also update the package from the command line:raco pkg update --update-deps pollen
Updating is optional. Major updates may have backward-incompatible changes, so you might want to consult the current Version notes (1.0.914.956) before plunging in. The documentation for the newest version of Pollen is available online and refreshed daily.
1.3 Beyond that
Pollen doesn’t install anything on your machine other than the Racket packages it relies on. It does not gather any information about you or your project. Your data belongs to you. I won’t know that you’re using Pollen unless you tell me.
Pollen’s built-in project web server is a real web server, however. Be mindful if you’re using it on a machine visible on a public network.
This project server is primarily a development & previewing tool. You do not need it to deploy Pollen projects (which generally compile down to a set of static files).
In general, I subscribe to the view that software should let you do what you want, not enroll you in a nanny state. Pollen is, in part, a programming language. Like all programming languages, it will let you do things that are incredibly clever. And also miserably stupid. But that is how we learn.
I’ve been using Pollen daily for several years (and will continue to do so, because my main work is writing). I’ve made Pollen available because a) I’m certain that others have had the same frustrations that I have, and b) feature suggestions and bug reports make it more useful for everyone.
I hope you enjoy using it. If you get stuck on something not covered here, see Getting more help.