redox issueshttps://gitlab.redox-os.org/redox-os/redox/-/issues2023-10-27T13:40:21Zhttps://gitlab.redox-os.org/redox-os/redox/-/issues/1192Nicer bootstrapping for newcomers2023-10-27T13:40:21ZNagy Tiborxnagytibor@gmail.comNicer bootstrapping for newcomersThe bootstrapping line in the quick-start section of the README currently look like the following:
```bash
curl -sf https://raw.githubusercontent.com/redox-os/redox/master/bootstrap.sh -o bootstrap.sh && bash -e bootstrap.sh
```
~~It p...The bootstrapping line in the quick-start section of the README currently look like the following:
```bash
curl -sf https://raw.githubusercontent.com/redox-os/redox/master/bootstrap.sh -o bootstrap.sh && bash -e bootstrap.sh
```
~~It points to the GitHub repo, it's need to be changed. So I thought why not improve it at the same time.~~
**My proposed changes:**
* Introduce a HTTP redirect with a shorter URL for the bootstrapper like `https://bootstrap.redox-os.org/` that points to [the bootstrapping script](https://gitlab.redox-os.org/redox-os/redox/raw/master/bootstrap.sh) on this GitLab instance.
* Pipe `curl` straight into `bash` like the [`rustup` installer](https://www.rust-lang.org/en-US/install.html) does. This is a controversial change.
* Add two new flags to `curl`:
* `-S`: Print error messages. Currently `curl` fails silently.
* `-L`: Follow HTTP redirects
**After my changes that oneliner would look like the this:**
```bash
curl -sfSL https://bootstrap.redox-os.org/ | bash
```Jeremy SollerJeremy Soller