Skip to content

Commit

Permalink
Documents usage of choosenim in more detail
Browse files Browse the repository at this point in the history
Fixes #3
  • Loading branch information
dom96 committed Oct 22, 2022
1 parent d77459f commit 90b7e4c
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion readme.md
Expand Up @@ -11,7 +11,9 @@ The aim of this tool is two-fold:

## Typical usage

```
To select the current `stable` release of Nim:

```bash
$ choosenim stable
Installed component 'nim'
Installed component 'nimble'
Expand All @@ -24,6 +26,29 @@ $ nim -v
Nim Compiler Version 1.0.0 [Linux: amd64]
```

To update to the latest `stable` release of Nim:

```bash
$ choosenim update stable
```

To display which versions are currently installed:

```bash
$ choosenim show
Selected: 1.6.6
Channel: stable
Path: /home/dom/.choosenim/toolchains/nim-1.6.6

Versions:
#devel
* 1.6.6
1.0.0
#v1.0.0
```

Versions can be selected via `choosenim 1.6.6` or by branch/tag name via `choosenim #devel` (note that selecting branches is likely to require Nim to be bootstrapped which may be slow).

## Installation

### Windows
Expand Down

0 comments on commit 90b7e4c

Please sign in to comment.