CLI Integration
This guide explains how to get started with the Grapa CLI, either by downloading pre-built binaries or building from source.
Option 1: Universal Installer (Recommended)
The fastest way to use the Grapa CLI is to use the universal installer that automatically detects your platform:
Universal Installer:
- All Platforms: install-grapa-0.1.53.py
- Automatically detects platform and downloads appropriate package
Instructions: 1. Download the universal installer:
curl -O https://github.com/grapa-dev/grapa/releases/download/v0.1.53/install-grapa-0.1.53.py
python3 install-grapa-0.1.53.py
~/.local/grapa/
- Set up the environment for immediate use
Option 2: Manual Platform-Specific Download
If you prefer to download manually, you can get the specific package for your platform:
Available Packages:
- grapa-0.1.53-mac-arm64.zip
- macOS ARM64 (10.1 MB)
- grapa-0.1.53-linux-amd64.zip
- Linux AMD64 (13.0 MB)
- grapa-0.1.53-linux-arm64.zip
- Linux ARM64 (13.8 MB)
- grapa-0.1.53-win-amd64.zip
- Windows AMD64 (41.3 MB)
- grapa-0.1.53-aws-amd64.zip
- AWS AMD64 (12.4 MB)
- grapa-0.1.53-aws-arm64.zip
- AWS ARM64 (12.8 MB)
Instructions:
1. Download the package for your platform from the latest release.
2. Extract the archive and navigate to the directory: cd grapa-0.1.53
3. Run the installer: python3 install-grapa.py
4. The installer will set up Grapa and add it to your PATH.
Note: Grapa requires macOS 15.0+ (Apple Silicon only). Intel Macs are no longer supported due to Apple's discontinuation of Intel Mac support in macOS 15.0.
Option 3: Build from Source
If you want to build Grapa yourself (or need the latest version), you can build from source. This will also build and install the Python extension if Python is available.
Instructions: 1. Clone the repository:
git clone https://github.com/grapa-dev/grapa.git
cd grapa
python3 build.py
# or
./build.sh
For more details, see the CLI Quickstart.
Tip: The build system only builds for the current platform. For multi-platform builds, run the script on each target platform.