#unity #cli #command-line-utilities #uvm

uvm_cli

Base crate for cli structs, enums and helpers for uvm

4 releases (breaking)

0.4.0 Nov 15, 2022
0.3.0 Feb 25, 2022
0.2.0 Nov 16, 2021
0.1.0 Nov 11, 2021

#17 in #unity

36 downloads per month
Used in uvm-install2

Apache-2.0

10KB
255 lines

unity-version-manager

A command-line application to manage unity versions. This tool allows to install and manage multiple unity versions on a system from the command-line. This tool is compatible with Unity-Hub and will use the installation destination configured there by default.

Build Status Build status License Latest Release macOS-supported windows-experimental linux-experimental

Installation

install with brew

brew tap wooga/tools
brew install wooga/unity-version-manager

To build from source a recent version of rust is needed > 1.30. You should use rustup.

install from source with cmake

git clone git@github.com:Larusso/unity-version-manager.git
cd unity-version-manager
make install

install from source with cargo

git clone git@github.com:Larusso/unity-version-manager.git
cd unity-version-manager
cargo build --release
#symlink or move binaries in target/release

Usage

The uvm (unity-version-manager) is a collection of small command-line tools. Each command can be invoked through the main tool uvm.

Version handling

The main purpose of uvm was the management of multiple unity installations on macOS. The idea was to have a similar interface as rvm to activate and deactivate different unity installations. This is done by creating a symlink at the default unity installation location (/Applications/Unity on macOS).

command description
use Use specific version of unity.
clear Remove the link so you can install a new version without overwriting.
current Prints current activated version of unity.
list List installed unity versions

Version installation

These commands allow the installation and deinstallation of Unity versions with additional components.

command description
install Install specified unity version.
uninstall Uninstall specified unity version
versions List available Unity versions to install.

Miscellaneous commands

command description
detect Find which version of unity was used to generate a project
launch Launch the current active version of unity.
help Prints help page for command.

License

Apache License 2.0

Dependencies

~6.5–9MB
~148K SLoC