Installation
Select your system to install the prebuilt v0.0.7 release. The version shown here is updated when the guide is built. You can also browse GitHub Releases.
On Windows, add %LOCALAPPDATA%\Programs\YouPlot2 to PATH to run uplot2 by name.
curl -fLO https://github.com/red-data-tools/YouPlot2/releases/download/v0.0.7/youplot2-v0.0.7-x86_64-unknown-linux-musl.tar.gz tar -xzf youplot2-v0.0.7-x86_64-unknown-linux-musl.tar.gz mkdir -p "$HOME/.local/bin" install -m 755 youplot2-v0.0.7-x86_64-unknown-linux-musl/uplot2 "$HOME/.local/bin/uplot2" rm -r youplot2-v0.0.7-x86_64-unknown-linux-musl.tar.gz youplot2-v0.0.7-x86_64-unknown-linux-musl uplot2 --version
curl -fLO https://github.com/red-data-tools/YouPlot2/releases/download/v0.0.7/youplot2-v0.0.7-aarch64-apple-darwin.tar.gz tar -xzf youplot2-v0.0.7-aarch64-apple-darwin.tar.gz mkdir -p "$HOME/.local/bin" install -m 755 youplot2-v0.0.7-aarch64-apple-darwin/uplot2 "$HOME/.local/bin/uplot2" rm -r youplot2-v0.0.7-aarch64-apple-darwin.tar.gz youplot2-v0.0.7-aarch64-apple-darwin uplot2 --version
curl -fLO https://github.com/red-data-tools/YouPlot2/releases/download/v0.0.7/youplot2-v0.0.7-x86_64-apple-darwin.tar.gz tar -xzf youplot2-v0.0.7-x86_64-apple-darwin.tar.gz mkdir -p "$HOME/.local/bin" install -m 755 youplot2-v0.0.7-x86_64-apple-darwin/uplot2 "$HOME/.local/bin/uplot2" rm -r youplot2-v0.0.7-x86_64-apple-darwin.tar.gz youplot2-v0.0.7-x86_64-apple-darwin uplot2 --version
Invoke-WebRequest 'https://github.com/red-data-tools/YouPlot2/releases/download/v0.0.7/youplot2-v0.0.7-x86_64-pc-windows-msvc.zip' -OutFile 'youplot2-v0.0.7-x86_64-pc-windows-msvc.zip' Expand-Archive 'youplot2-v0.0.7-x86_64-pc-windows-msvc.zip' -DestinationPath 'youplot2-v0.0.7-x86_64-pc-windows-msvc' -Force New-Item "$env:LOCALAPPDATA\Programs\YouPlot2" -ItemType Directory -Force | Out-Null Copy-Item 'youplot2-v0.0.7-x86_64-pc-windows-msvc\uplot2.exe' "$env:LOCALAPPDATA\Programs\YouPlot2\uplot2.exe" -Force Remove-Item 'youplot2-v0.0.7-x86_64-pc-windows-msvc.zip', 'youplot2-v0.0.7-x86_64-pc-windows-msvc' -Recurse & "$env:LOCALAPPDATA\Programs\YouPlot2\uplot2.exe" --version
To build from source, install Crystal and Shards, then run:
git clone https://github.com/red-data-tools/YouPlot2.git
cd YouPlot2
shards install
shards build
bin/uplot2 --version