Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/peter-bread/bootstrap

Collection of bootstrap scripts for different systems!
https://github.com/peter-bread/bootstrap

bash bootstrap configuration curl script shell

Last synced: 23 days ago
JSON representation

Collection of bootstrap scripts for different systems!

Awesome Lists containing this project

README

        

# Bootstrap

Collection of bootstrap scripts to set up on different systems with minimal effort.

> [!WARNING]
> Dotfiles repo is private.
>
> Dotfiles installation will fail without SSH authentication.

## Usage

```text
Usage:
curl -sL | bash [ -s -- [options] ] Download & run script
cat | bash [ -s -- [options] ] Run downloaded script
bash <script> [options] Run downloaded script

Options:
-h, --help Display this help and exit
-e <value>, --email=<value> Specify email for GitHub SSH key
-i <basename>, --identity=<basename> Specify basename for GitHub SSH key
(stored in ~/.ssh/<basename>)
-b <value>, --brewfile=<value> Which Brewfile to use
[ (f)ull | (e)ssential | (n)one ]
-q, --quiet Suppress non-error output
--no-dotfiles Don't install or apply dotfiles
```

## Silicon Mac

Assumes `curl` is installed by default.

```sh
curl -sL https://raw.githubusercontent.com/peter-bread/bootstrap/main/silicon-mac.sh | bash
```

With options:

```sh
curl -sL https://raw.githubusercontent.com/peter-bread/bootstrap/main/silicon-mac.sh |
bash -s -- [options]
```

Copy all output to log file:

```sh
curl -sL https://raw.githubusercontent.com/peter-bread/bootstrap/main/silicon-mac.sh |
bash >bootstrap.log 2>&1 | tee
```

Divert all output to log file:

```sh
curl -sL https://raw.githubusercontent.com/peter-bread/bootstrap/main/silicon-mac.sh |
bash >bootstrap.log 2>&1
```