- Nimv : Simple CUI wrapper for Choosenim command
-
First install choosenim command
Refer to https://github.com/dom96/choosenim -
Confirm nim version
$ choosenim stable Info: C:\Users\mi\.choosenim\downloads\dlls.zip already downloaded Extracting dlls.zip Info: Version 1.6.10 already selected -
Install anyway other Nim version,
choosenim 1.6.8
-
Install Nimv command,
-
Release version
nimble install https://github.com/dinau/nimv
-
Bleeding edge version (may be same as release version)
nimble install https://github.com/dinau/nimv@#head
-
-
Run Nimv command in MS-DOS/PowerShell Window or terminal window etc,
nimv
Press '1'(one) key to select nim-1.6.10.
Activated nim-1.6.10.
-
Press
'L'key to list up installable nim versions. -
You can install other nim version by pressing key
'0' or '1' or '2'
at above situation. -
You can then go back to top menu by pressing key
'M' or 'R'.
-
Press
'R'key on top menu to remove nim version. -
You can remove nim-1.6.8 by pressing key
'0'(zero).
- Press
'U'key to update to stable version. - Press
'P'key to install/update devel version (nim-#devel).
-
Start Nimv and get the number
'1'of nim-1.6.10 then exit Nimv.
-
You can select nim-1.6.10 by specifying the number
'1'on command line as follows,nimv 1
-
You can specify from
0up to max9.
For instance on command line,
nimv 1.4.0
nimv versions
nimv show
nimv remove 1.6.8
snipare same as
choosenim 1.4.0
choosenim versions
choosenim show
choosenim remove 1.6.8
snipexcept nimv --version,
$ nimv --version
nimv 1.3.0 (2023/01): Simple CUI wrapper for Choosenim command.
from 2021/10 by audin
Usage:
nimv [option]
option:
None : Show simple CUI for Choosenim.
-h, /?, /h, -v, --version: Show this page.
-d: Start nimv with debug mode. Shown choosenim command.
.nimv.json: List of old nim versions and configration to nimv.
It can be set show/hide to list up the specified nim version.
This file can be placed in user home folder.``Start with -d option.
It will show debug info while running.
nimv -d- Home folder generally is
- Windows OS:
c:\Users\[UserName]\ - Linux OS:
~/or/home/[UserName]etc
- Windows OS:
- Copy .nimv.json to your home folder
and restart Nimv.

.nimv.jsonfile correctly loaded.

These options correspond to --choosenimDir and --nimblemDir.
You can set them in .nimv.json for instance,
-
Windows OS
"choosenimDir":"c:\\foo\\mychDir", "nimbleDir":"c:\\bar\\mynbDir", snip
-
Linux OS
"choosenimDir":"~/foo/mychDir", "nimbleDir":"~/bar/mynbDir", snip
Set value of "1" to "enable:" in .nimv.json for instance,
from
snip
"oldVers":[
{"enable":1, "ver":"1.6.10", "date":"2022-11-21", "comment":""},
{"enable":1, "ver":"1.6.8", "date":"2022-09-27", "comment":""},
{"enable":0, "ver":"1.6.6", "date":"2022-05-05", "comment":""},
{"enable":0, "ver":"1.6.4", "date":"2022-02-09", "comment":""},
{"enable":0, "ver":"1.6.2", "date":"2021-12-17", "comment":""},
snipto
snip
"oldVers":[
{"enable":1, "ver":"1.6.10", "date":"2022-11-21", "comment":""},
{"enable":1, "ver":"1.6.8", "date":"2022-09-27", "comment":""},
{"enable":1, "ver":"1.6.6", "date":"2022-05-05", "comment":""},
{"enable":1, "ver":"1.6.4", "date":"2022-02-09", "comment":""},
{"enable":1, "ver":"1.6.2", "date":"2021-12-17", "comment":""},
snipresult in
You can enable up to max 20 versions.
nimble uninstall nimvBye.





