- 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.
Building 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.)
Clone the Git repository.
git clone https://github.com/pen-lang/pen
cargocommand in the repository's directory.
cargo install --path cmd/pen
PEN_ROOTenvironment variable to the directory.
Now, you are ready to use the
pen command built manually.