shell/install/telebit

19 lines
685 B
Plaintext
Raw Normal View History

2025-01-17 19:07:28 +08:00
#!/usr/bin/env bash
##makedesc: Install telebit (latest)
2022-01-09 16:50:40 +08:00
echo
echo "==============================================="
echo "Installing telebit (latest)..."
2022-01-09 16:50:40 +08:00
echo "==============================================="
echo
# https://git.coolaj86.com/coolaj86/telebit.js#install
2021-12-30 14:26:51 +08:00
# export NODEJS_VER=v10.2 # v10.2 is tested working, but we can test other versions
# export TELEBIT_VERSION=master # git tag or branch to install from
# export TELEBIT_USERSPACE=no # install as a system service (launchd, systemd only)
# export TELEBIT_PATH=/opt/telebit
# export TELEBIT_USER=telebit
# export TELEBIT_GROUP=telebit
curl https://get.telebit.io/ | bash