parent
d77459f633
commit
90b7e4c00b
1 changed files with 26 additions and 1 deletions
27
readme.md
27
readme.md
|
@ -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'
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue