reference by : https://github.com/coreybutler/nvm-windows
Manage multiple installations of sdk on a Winoows,Linux,MacOs Computer.
| Window | Linux | Darwin
uvm -d , uvm dart : Dart Suported Suported [Not Test Yet]
uvm -f , uvm flutter : Flutter Suported Suported [Not Test Yet]
uvm -go , uvm golang : Golang Suported Suported [Not Test Yet]
uvm -j , uvm java : Java [Manual Ins.] [Manual Ins.] [Not Test Yet]
uvm -n , uvm nodejs : NodeJS Suported Suported [Not Test Yet]
uvm -oj , uvm openjava : OpenJava [Use Key] [Use Key] [Not Test Yet]
uvm -p , uvm python : Python [Manual Ins.] [Manual Ins.] [Not Test Yet]
uvm -r , uvm ruby : Ruby [Manual Ins.] [Manual Ins.] [Not Test Yet]
uvm [-SDK] install <version> <tag> : Install SDK Version.
uvm [-SDK] uninstall <version> : The version must be a specific version.
uvm [-SDK] list : List Version Installed and Show Current Use
uvm [-SDK] use <version> <tag> : Switch to use the specified version.
uvm [-SDK] unuse : Disable uvm.
uvm [-SDK] root : Show Root Path
uvm [-SDK] version : Displays the current running version of uvm
- Extract Installer Zip to SDK Folder somewhere in your pc
-
Recommend Add Drive "D:" for reuse when formatted Windows like this
D:\SDK\uvm
-
! Not Recommend Installation In "Program File" , "Program Data" , "AppData" Because Losting When Formatted Windows and Consumed Space In your SSD Drive
- Append "%UVM_LINK%" and "D:\SDK\uvm" to ENV:"Path" in System Variables
-
ENV:"UVM_LINK"
C:\Program Files\uvm_nodejs;C:\Program Files\uvm_flutter\bin;C:\Program Files\uvm_golang\bin;C:\Program Files\uvm_dart\bin;C:\Program Files\uvm_java\bin;C:\Program Files\uvm_python;C:\Program Files\uvm_ruby\bin;
-
ENV:"Path"
{{path}};%UVM_LINK%;D:\SDK\uvm
-
open shell like CMD or Powershell with Administrator Mode (Use for Creak SymLink) and run this command for using
$ uvm list $ uvm
Optional
- Delete or Create JAVA_HOME
-
ENV : "JAVA_HOME"
C:\Program Files\uvm_java
- Extract Installer Zip to folder (can use Command+Shift+G in finder for go to folder /usr/local/)
/usr/local/uvm/
- Create file ~/.bash_profile or "~/.zshrc" for zsh
-
"~/.bash_profile" or "~/.zshrc"
export UVM_LINK=/usr/local/uvm_nodejs/bin:/usr/local/uvm_flutter/bin:/usr/local/uvm_golang/bin:/usr/local/uvm_dart/bin:/usr/local/uvm_java/bin:/usr/local/uvm_python:/usr/local/uvm_ruby/bin export PATH=$PATH:$UVM_LINK:/usr/local/uvm
- Run Command source ~/.bash_profile for set environment
$ source ~/.bash_profile
- Run Command chmod for execute
$ chmod +x /usr/local/uvm/uvm
-
if uvm can't open try click right on uvm and click open with > terminal
-
open shell with sudo mod (Use for Creak SymLink) and run this command for using
$ uvm list $ uvm
- Extract Installer Zip to folder
/usr/local/uvm/
- Create uvm.sh in /etc/profile.d
-
"/etc/profile.d/uvm.sh"
export UVM_LINK=/usr/local/uvm_nodejs/bin:/usr/local/uvm_flutter/bin:/usr/local/uvm_golang/bin:/usr/local/uvm_dart/bin:/usr/local/uvm_java/bin:/usr/local/uvm_python:/usr/local/uvm_ruby/bin export PATH=$PATH:$UVM_LINK:/usr/local/uvm
-
open shell with sudo mod (Use for Creak SymLink) and run this command for using
$ uvm list $ uvm