Skip to content

Commit

Permalink
README improvements
Browse files Browse the repository at this point in the history
Co-authored-by: Eldred Habert <[email protected]>

Co-authored-by: Antonio Vivace <[email protected]>
  • Loading branch information
ZoomTen and avivace committed Feb 17, 2024
1 parent f4293e4 commit d32cdcf
Showing 1 changed file with 27 additions and 4 deletions.
31 changes: 27 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,41 @@ This is a version manager for [RGBDS](https://github.com/gbdev/rgbds). It is a p
\* Bash script, at the moment. Compatibility with other shells is not guaranteed.

## Quickstart (Debian)

### 1. Get rgbenv
```sh
sudo apt install -y libpng-dev pkg-config build-essential bison git curl
sudo sh -c 'curl https://raw.githubusercontent.com/gbdev/rgbenv/master/rgbenv > /usr/local/bin/rgbenv'
sudo curl -o /usr/local/bin/rgbenv https://raw.githubusercontent.com/gbdev/rgbenv/master/rgbenv
sudo chmod +x /usr/local/bin/rgbenv
yes | rgbenv install 0.7.0
```

### 2. Install a version and set it as the default
```sh
rgbenv install 0.7.0
rgbenv use 0.7.0
echo 'export PATH=$HOME/.local/share/rgbenv/default/bin:$PATH' >> .bashrc
source .bashrc
```

### 3. Use the default version
```sh
rgbenv exec rgbasm -V
```
(replace `rgbasm -V` with your desired command)

To use it without `rgbenv exec`
```sh
echo 'export PATH="$HOME/.local/share/rgbenv/default/bin:$PATH"' >> .bashrc
source .bashrc
rgbasm -V
```

### 4. Execute with another version
```sh
rgbenv install 0.6.1
rgbenv exec -v 0.6.1 rgbasm -V
```
(replace `rgbasm -V` with your desired command)


## What does it do?

* Installs or uninstalls a specific version of the RGBDS suite.
Expand Down

0 comments on commit d32cdcf

Please sign in to comment.