Skip to content

Commit

Permalink
Update readme with docs for smaller checkout and checkout of specific…
Browse files Browse the repository at this point in the history
… tag (cunymatthieu#25)
  • Loading branch information
iokiwi authored Apr 28, 2023
1 parent 5133f3e commit dc65a8c
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,19 @@ Currently tgenv supports the following OSes

### 1. Cloning the repository

Check out tgenv into any path (here is `${HOME}/.tgenv`)
Check out latest version of tgenv

```bash
$ git clone https://github.com/tgenv/tgenv.git ~/.tgenv
$ git clone --depth 1 --branch main https://github.com/tgenv/tgenv.git ~/.tgenv
```

### 2. Export to PATH
Or checkout tgenv at specific tag

```bash
$ git clone --depth 1 --branch v1.0.0 https://github.com/tgenv/tgenv.git ~/.tgenv
```

### 2. Add tgenv to $PATH

#### Bash

Expand Down

0 comments on commit dc65a8c

Please sign in to comment.