# localsetup – Setup your local computer / user automatically
[](https://github.com/zgtm/localsetup/actions/workflows/ci.yaml)
## Installation
Install the binary from Github directly
```
curl https://github.com/zgtm/localsetup/releases/latest/download/localsetup -o ~/.local/bin/localsetup && chmod a+x ~/.local/bin/localsetup
```
or build and install it with cargo:
```
cargo install localsetup
```
(or checkout this repository and run `cargo install --path .` inside).
## First Setup
Create a setupfile (see below) somewhere and pass it to localsetup:
```
localsetup <path or URL to setupfile>
```
## Subsequent Setup
Just run
```
localsetup
```
## The Setupfile
Currently supported:
- `setup_ssh_key` (boolean, default `true`) Setup an ssh key and print the public key if none exists yet