Install
Via Homebrew
On Linux, macOS and WSL, you can install Pen through Homebrew.
- Install Homebrew.
- Run the following command in your terminal.brew install pen-lang/pen/pen
Now, you should be able to run a pen command in your shell.
pen --versionBuilding from source
You can also build Pen from source on your local machine.
- 
Install the following software using a package manager of your choice (e.g. aptfor Ubuntu and Homebrew for macOS.)
- 
Install Turtle. cargo install turtle-build # Or, via Homebrew, brew install pen-lang/pen/turtle
- 
Clone the Git repository. git clone https://github.com/pen-lang/pen
- 
Run a cargocommand in the repository's directory.cargo install --path cmd/pen
- 
Set a PEN_ROOTenvironment variable to the directory.export PEN_ROOT=<directory>
Now, you are ready to use the pen command built manually.