Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/axetroy/dvm
๐ Fast and simple version manger for Deno without runtime dependencies
https://github.com/axetroy/dvm
deno dvm version-manager
Last synced: about 1 month ago
JSON representation
๐ Fast and simple version manger for Deno without runtime dependencies
- Host: GitHub
- URL: https://github.com/axetroy/dvm
- Owner: axetroy
- License: other
- Created: 2019-12-09T06:04:58.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-27T22:51:06.000Z (4 months ago)
- Last Synced: 2024-10-13T22:43:19.483Z (about 2 months ago)
- Topics: deno, dvm, version-manager
- Language: Go
- Homepage: https://deno.land
- Size: 7.62 MB
- Stars: 167
- Watchers: 2
- Forks: 7
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-deno - axetroy/dvm - ๆฒกๆ่ฟ่กๆถ็ธๅ ณ็Deno็ๆฌ็ฎก็ๅจใ (Uncategorized / Uncategorized)
- awesome-deno-cn - @axetroy/dvm
- awesome-deno - axetroy/dvm - Version manger for Deno without runtime dependencies.![GitHub stars](https://img.shields.io/github/stars/axetroy/dvm?style=plastic) (Tools / Online Playgrounds)
- awesome-deno - axetroy/dvm - Version manger for Deno without runtime dependencies. (Tools / XML)
README
![dvm](https://socialify.git.ci/axetroy/dvm/image?description=1&font=KoHo&forks=1&issues=1&language=1&logo=https%3A%2F%2Fdeno.land%2Flogo.svg&owner=1&pattern=Circuit%20Board&pulls=1&stargazers=1&theme=Light)
English | [ไธญๆ็ฎไฝ](README_zh-CN.md)
[![Build Status](https://github.com/axetroy/dvm/workflows/ci/badge.svg)](https://github.com/axetroy/dvm/actions)
[![Go Report Card](https://goreportcard.com/badge/github.com/axetroy/dvm)](https://goreportcard.com/report/github.com/axetroy/dvm)
![Latest Version](https://img.shields.io/github/v/release/axetroy/dvm.svg)
[![996.icu](https://img.shields.io/badge/link-996.icu-red.svg)](https://996.icu)
![Repo Size](https://img.shields.io/github/repo-size/axetroy/dvm.svg)## 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 \ \| latest | Download and install specified/latest Deno version |
| dvm uninstall \ | Uninstall specified Deno version |
| dvm use \ | Use specified Deno version |
| dvm unused | Unused Deno |
| dvm exec \ [commands] | Run Deno command on \ |
| dvm upgrade [version] | Upgrade dvm |
| dvm destroy | Uninstall dvm |### Usage
Whether you have installed Deno or not will not affect the use of dvm.
```bash
# 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
```### Install
1. [Cask](https://github.com/axetroy/cask.rs)(Cross-Platform)
```bash
cask install github.com/axetroy/dvm
```2. Shell (Mac/Linux)
```bash
curl -fsSL https://github.com/release-lab/install/raw/v1/install.sh | bash -s -- -r=axetroy/dvm
```3. PowerShell (Windows):
```bash
$r="axetroy/dvm";iwr https://github.com/release-lab/install/raw/v1/install.ps1 -useb | iex
```4. [Github release page](https://github.com/axetroy/dvm/releases)
> download the executable file and put the executable file to `$PATH`
5. Build and install from source using [Golang](https://golang.org) (All platforms)
```bash
go install github.com/axetroy/dvm/cmd/[email protected]
```### Upgrade
You can re-download the executable and overwrite the original file.
or run the following command to upgrade
```bash
$ 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
```shell
$ dvm destroy
```### Related
[justjavac/dvm](https://github.com/justjavac/dvm) Node.js implement
[imbsky/dvm](https://github.com/imbsky/dvm) Reason implement
### License
The [Anti-996 License](LICENSE)