All Projects â†’ axetroy â†’ Dvm

axetroy / Dvm

Licence: other
🚀 Fast and simple version manger for Deno without runtime dependencies

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Dvm

Cpm.cmake
đŸ“Ļ CMake's missing package manager. A small CMake script for setup-free, cross-platform, reproducible dependency management.
Stars: ✭ 560 (+294.37%)
Mutual labels:  version-manager
Jdk switcher
A yet another Ubuntu/Debian-specific tool that makes switching between multiple JDK versions a one liner
Stars: ✭ 69 (-51.41%)
Mutual labels:  version-manager
Goup
Elegant Go installer
Stars: ✭ 94 (-33.8%)
Mutual labels:  version-manager
Php Version
stupid simple PHP version management
Stars: ✭ 637 (+348.59%)
Mutual labels:  version-manager
Goenv
🚙 Like pyenv and rbenv, but for Go.
Stars: ✭ 964 (+578.87%)
Mutual labels:  version-manager
Installer
dmd installers for various systems
Stars: ✭ 74 (-47.89%)
Mutual labels:  version-manager
G
Simple go version manager, gluten-free
Stars: ✭ 307 (+116.2%)
Mutual labels:  version-manager
Nodenv
Manage multiple NodeJS versions.
Stars: ✭ 1,687 (+1088.03%)
Mutual labels:  version-manager
Dvm
Fast and simple Deno runtime version manager written in OCaml
Stars: ✭ 58 (-59.15%)
Mutual labels:  version-manager
Nodist
Natural node.js and npm version manager for windows.
Stars: ✭ 1,276 (+798.59%)
Mutual labels:  version-manager
Snm
🤏 Smol Node Manager written in Rust
Stars: ✭ 24 (-83.1%)
Mutual labels:  version-manager
Nhversion
NHVersion for version your api
Stars: ✭ 13 (-90.85%)
Mutual labels:  version-manager
Oo
Simple Go Version Manager.
Stars: ✭ 77 (-45.77%)
Mutual labels:  version-manager
Snowfs
SnowFS - a fast, scalable version control file storage for graphic files 🎨
Stars: ✭ 590 (+315.49%)
Mutual labels:  version-manager
Zsh Nvm
Zsh plugin for installing, updating and loading nvm
Stars: ✭ 1,670 (+1076.06%)
Mutual labels:  version-manager
Asdf Plugins
Central plugin repository for asdf
Stars: ✭ 350 (+146.48%)
Mutual labels:  version-manager
Terraenv
Terraform & Terragrunt Version Manager
Stars: ✭ 72 (-49.3%)
Mutual labels:  version-manager
Asdf
Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more
Stars: ✭ 12,594 (+8769.01%)
Mutual labels:  version-manager
Nvm
nvm is a version manager for node.js, designed to be installed per-user, and invoked per-shell. nvm works on any POSIX-compliant shell (sh, dash, ksh, zsh, bash), in particular on these platforms: unix, macOS, and windows WSL.
Stars: ✭ 53,926 (+37876.06%)
Mutual labels:  version-manager
Chruby Fish
Thin wrapper around chruby to make it work with the Fish shell
Stars: ✭ 85 (-40.14%)
Mutual labels:  version-manager

dvm

English | 中文įŽ€äŊ“

Build Status Go Report Card Latest Version 996.icu Repo Size

dvm

dvm is a command-line tool to manage Deno versions.

Focus on the simplest way to manage versions.

Features:

  • [x] Cross-platform support
  • [x] Easy to use
  • [x] No runtime dependencies
  • [x] Zero configuration
  • [x] Fully compatible with installed Deno
Command Description
dvm current Display currently activated version of Deno
dvm ls List installed versions
dvm ls-remote List remote versions available for install
dvm install <version> | latest Download and install specified/latest Deno version
dvm uninstall <version> Uninstall specified Deno version
dvm use <version> Use specified Deno version
dvm unused Unused Deno
dvm exec <version> [commands] Run Deno command on <version>
dvm upgrade [version] Upgrade dvm
dvm destroy Uninstall dvm

Usage

Whether you have installed Deno or not will not affect the use of dvm.

# install
$ dvm install v0.26.0
$ deno -V
deno v0.26.0

# use another version
$ dvm install v0.25.0
$ dvm use v0.25.0
$ deno -V
deno v0.25.0

# uninstall deno
$ dvm uninstall v0.25.0

# for more command
$ dvm --help

Installation

If you have installed nodejs, you can install it via npm

npm install @axetroy/dvm -g

If you are using Linux/macOS. you can install it with the following command:

# install latest version
curl -fsSL -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/axetroy/dvm/master/install.sh | bash
# or install specified version
curl -fsSL -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/axetroy/dvm/master/install.sh | bash -s v1.3.9
# or install from gobinaries.com
curl -sf https://gobinaries.com/axetroy/[email protected] | sh

Or

Download the executable file for your platform at release page

Then set the environment variable.

eg, the executable file is in the ~/bin directory.

# ~/.bash_profile
export PATH="$PATH:$HOME/bin"

then, try it out.

dvm --help

Finally, to use Deno correctly, you also need to set environment variables

# ~/.bash_profile
export PATH="$PATH:$HOME/.deno/bin"

Upgrade

You can re-download the executable and overwrite the original file.

or run the following command to upgrade

$ dvm upgrade # upgrade to latest
$ dvm upgrade v0.2.0 # Update to specified version

Uninstall

run the following command to uninstall dvm or remove dvm executable file and $HOME/.dvm folder by manual

$ dvm destroy

Build from source code

Make sure you have [email protected] installed.

$ git clone https://github.com/axetroy/dvm.git $GOPATH/src/github.com/axetroy/dvm
$ cd $GOPATH/src/github.com/axetroy/dvm
$ make build

Test

$ make test

Related

justjavac/dvm Node.js implement

imbsky/dvm Reason implement

License

The Anti-996 License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].