The Gram Programming Language
Gram is a programming language for distributed systems.
If you are running macOS or a GNU-based Linux on an x86-64 CPU, you can install Gram with this command:
curl https://raw.githubusercontent.com/gramlang/gram/master/install.sh -LSfs | sh
The same command can be used again to update Gram to the latest version.
sh is dangerous since the server might be compromised. If you're concerned about this, you can download and inspect the installation script or choose one of the other installation methods.
Customizing the installation
The installation script supports the following environment variables:
VERSION=x.y.z(defaults to the latest version)
For example, the following will install Gram into the working directory:
curl https://raw.githubusercontent.com/gramlang/gram/master/install.sh -LSfs | PREFIX=. sh
Installation with Cargo
If you have Cargo, you can install Gram as follows:
cargo install gram
You can run that command with
--force to update an existing installation.