https://github.com/stream-pi/scripts
https://github.com/stream-pi/scripts
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/stream-pi/scripts
- Owner: stream-pi
- Created: 2021-06-04T18:03:44.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-26T06:23:15.000Z (almost 4 years ago)
- Last Synced: 2025-04-05T09:11:12.494Z (9 months ago)
- Language: Shell
- Size: 257 KB
- Stars: 4
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Stream-Pi scripts
## Stream-Pi Client installer script for Raspberry Pi
### Quick start
Copy and paste the following command in your terminal. This will install the
client using the recommended defaults.
```sh
curl -sSL https://install.stream-pi.com/client/raspberry-pi | bash
```
### Configuration Options
View all available options with the `-h` or `--help` option.
```
Usage: [-h | --help] [-v | --verbose]
[-d | --download-link] [-g | --gpu-mem]
[-i | --install-dir] [-c | --client-dir]
[-s | --skip-shortcut] [-b | --backlight-no]
[-ky | --enable-kms] [-kn | --dont-enable-kms]
[-ry | --reboot-after-install] [-rn | --dont-reboot-after-install]
[-z | --zip] [-p | --preserve-old-data]
[-t | --dont-add-touch] [-at | --axel-threads]
[-uw | --use-wget]
If no arguments are provided, installation will continue using the default
values.
-h --help Print this message.
-v --verbose Print debug information.
-d --download-link Set custom download link for Stream-Pi client.
Defaults to the latest stable release.
-g --gpu-mem Set custom GPU memory split, defaults to 128.
-i --install-dir Set custom root installation directory.
Defaults to user's home directory.
-c --client-dir Set custom directory for the client application.
This will be a sub-directory under 'install-dir',
defaults to 'stream-pi-client'.
-s --skip-shortcut Does not create shortcut in Desktop.
-b --backlight-no Does not modify Official Screen backlight persmissions.
-ky --enable-kms Skips user prompt and turns on KMS driver.
-kn --dont-enable-kms Skips user prompt and does not turn on KMS driver.
-ry --reboot-after-install Skip reboot prompt and reboot automatically after installation.
-rn --dont-reboot-after-install Skips reboot prompt and does NOT perform reboot after installation.
Not Recommended with fresh installs.
-z --zip-file Use custom zip instead of downloading.
-p --preserve-old-data Skips user data and preserve previous Stream-Pi data (if found).
Not recommended for upgrading to different versions.
-t --dont-add-touch Does not add touch support.
Not recommended if Client is to be used in Console mode.
-at --axel-threads Specify number of axel threads while downloading. Default is 4.
-uw --use-wget Use wget instead of axel to download.
```
To customize your installation, pass in one or more options to the script.
The script supports both short and long-form option names (or a mix of both)
e.g. `./client-install-raspberry-pi.sh -d --gpu-mem 256`.
Sample custom installation:
```sh
curl -sSL https://install.stream-pi.com/client/raspberry-pi | bash -s -- \
-d \
-g \
-i \
-c \
-s -b -ky -at 4
```