usage: bootstrap-Windows.cmd [/?] Bootstrap a macOS instance with: * Windows SDK - from MSDN * Chocolatey - package manager * Cmder, including Git - from Chocolatey * Python - from Chocolatey * virtualenv - from pip * SSH key - from ssh-keygen * GitHub public key - with SSH key * GitLab public key - with SSH key * BitBucket Cloud public key - with SSH key * Gogs Cloud public key - with SSH key * conduit - configuration manager optional arguments: /? show this help message and exit
34 lines
804 B
Markdown
34 lines
804 B
Markdown
# bootstrap
|
|
|
|
Bootstrap an OS instance with bare essentials.
|
|
|
|
## Usage
|
|
|
|
To bootstrap a macOS instance:
|
|
|
|
```
|
|
$ curl -s https://code.infektor.net/config/bootstrap/raw/master/bootstrap-macOS.sh | sh
|
|
```
|
|
|
|
To bootstrap a Debain based Linux instance:
|
|
|
|
```
|
|
$ wget https://code.infektor.net/config/bootstrap/raw/master/bootstrap-Debian.sh -O - | sh
|
|
```
|
|
|
|
To bootstrap a Windows instance:
|
|
|
|
```
|
|
$ bitsadmin /transfer bootstrap-Windows.cmd https://code.infektor.net/config/bootstrap/raw/master/bootstrap-Windows.cmd %cd%\bootstrap-Windows.cmd & %cd%\bootstrap-Windows.cmd
|
|
```
|
|
|
|
## Package
|
|
|
|
Install as a pip package to set SSH keys on any of GitHub, GitLab, BitBucket
|
|
Cloud, or Gogs servers:
|
|
|
|
```
|
|
pip install git+https://code.infektor.net/config/bootstrap.git
|
|
python -m 'import bootstrap; bootstrap.set_ssh_keys()'
|
|
```
|