Added: Install.sh - Fast installation on GNU+Linux

This commit is contained in:
Cristian Cezar Moisés 2026-03-23 20:02:02 -03:00
commit da91ca90f7
2 changed files with 36 additions and 3 deletions

30
install.sh Normal file
View file

@ -0,0 +1,30 @@
# Fast Installer - For GNU+Linux
#!/usr/bin/env bash
set -e
echo "🔧 Installing zupt..."
# Create temp directory
TMP_DIR=$(mktemp -d)
# Clone repo
git clone https://github.com/cristiancmoises/zupt.git "$TMP_DIR/zupt"
cd "$TMP_DIR/zupt"
# Build
make clean
make
# Install
sudo cp zupt /usr/local/bin/
echo "✅ Installed to /usr/local/bin/zupt"
# Cleanup
cd ~
rm -rf "$TMP_DIR"
echo "🧹 Cleanup done"
echo "🔒 You can now run: zupt"