-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
Β·44 lines (36 loc) Β· 1.05 KB
/
install.sh
File metadata and controls
executable file
Β·44 lines (36 loc) Β· 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/bash
# PolyTerm Easy Install Script
# This script makes it super easy to install and run PolyTerm
set -e
echo "π PolyTerm Easy Install"
echo "========================="
# Check if pipx is installed
if ! command -v pipx &> /dev/null; then
echo "π¦ Installing pipx (required for PolyTerm)..."
# Check if brew is available
if command -v brew &> /dev/null; then
brew install pipx
else
echo "β Homebrew not found. Please install Homebrew first:"
echo " /bin/bash -c \"\$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\""
exit 1
fi
# Ensure pipx path is in PATH
pipx ensurepath
echo "β
pipx installed successfully!"
else
echo "β
pipx already installed"
fi
# Install PolyTerm
echo "π₯ Installing PolyTerm..."
pipx install polyterm
echo ""
echo "π Installation complete!"
echo ""
echo "You can now run PolyTerm from anywhere with:"
echo " polyterm"
echo ""
echo "To get started:"
echo " polyterm --help"
echo ""
echo "Happy trading! π"