Skip to content

pagongamedev/uvm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reference by : https://github.com/coreybutler/nvm-windows

UVM : Unversal Version Manager

Manage multiple installations of sdk on a Winoows,Linux,MacOs Computer.

Supported

                                      |     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]

Usage

  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

Installing

Windows

  1. 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

  1. 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
    
  1. open shell like CMD or Powershell with Administrator Mode (Use for Creak SymLink) and run this command for using

    $ uvm list
    $ uvm 
    

Optional

  1. Delete or Create JAVA_HOME
  • ENV : "JAVA_HOME"

    C:\Program Files\uvm_java
    

MacOS

  1. Extract Installer Zip to folder (can use Command+Shift+G in finder for go to folder /usr/local/)
/usr/local/uvm/
  1. 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
    
  1. Run Command source ~/.bash_profile for set environment
$ source ~/.bash_profile
  1. Run Command chmod for execute
$ chmod +x /usr/local/uvm/uvm
  1. if uvm can't open try click right on uvm and click open with > terminal

  2. open shell with sudo mod (Use for Creak SymLink) and run this command for using

    $ uvm list
    $ uvm 
    

Linux

  1. Extract Installer Zip to folder
/usr/local/uvm/
  1. 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
    
  1. open shell with sudo mod (Use for Creak SymLink) and run this command for using

    $ uvm list
    $ uvm 
    

About

UVM : Universal Version Manager

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages