https://github.com/apachecn-archive/dvm
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.0%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: apachecn-archive
- License: mit
- Language: Rust
- Default Branch: main
- Size: 492 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Deno Version Manager
Easy way to manage multiple active deno versions.
Installation
You can install it using the installers below, or download a release binary from the releases page.
With Shell:
sh
curl -fsSL https://deno.land/x/dvm/install.sh | sh
With PowerShell:
powershell
iwr https://deno.land/x/dvm/install.ps1 -useb | iex
Usage
```plain ~ dvm --help Deno Version Manager - Easy way to manage multiple active deno versions.
USAGE:
dvm
OPTIONS: -h, --help Print help information -V, --version Print version information
SUBCOMMANDS:
activate Activate Dvm
alias Set or unset an alias
completions Generate shell completions
deactivate Deactivate Dvm
doctor Fixing dvm specific environment variables and other issues
exec Execute deno command with a specific deno version
help Print this message or the help of the given subcommand(s)
info Show dvm info.
install Install deno executable to the given version. [aliases: i, add]
list List installed versions, matching a given
EXAMPLE: dvm install 1.3.2 Install v1.3.2 release dvm install Install the latest available version dvm use 1.0.0 Use v1.0.0 release dvm use latest Use the latest alias that comes with dvm dvm use canry Use the canary version of the Deno
NOTE:
To remove, delete, or uninstall dvm - just remove the $DVM_DIR folder (usually ~/.dvm)
```
Verify installation
To verify that dvm has been installed, do:
bash
dvm -V
which should output dvm's version if the installation was successful.
Initialisation
Calling dvm will creates an ~/.dvm/ directory if it doesn't exist, and all
installed versions of deno will put into ~/.dvm.
~ dvm
Creating /Users/justjavac/.dvm
.dvmrc
You can let dvm to writing config to current directery by add the --local flag
to dvm use. Afterwards, dvm use, dvm install will use the version
specified in the .dvmrc file if no version is supplied on the command line.
For example, to make dvm default to the 1.17.0 release for the current
directory:
bash
dvm use --local 1.17.0
Then when someone else with a copy of your project and run dvm:
plain
$ dvm use
No version input detect, try to use version in .dvmrc file
Using semver range: 1.17.0
Writing to home folder config
Now using deno 1.17.0
Example
Listing versions
List all installed versions:
~ dvm list
* 0.1.0
0.1.1
0.1.2
The version with a asterisk(*) means that this version is the version
currently in use.
Switching version
~ dvm use 1.1.0
now use deno 1.1.0
~ dvm use 1.2.0
deno v1.2.0 is not installed. Use `dvm install 1.2.0` to install it first.
Compatibility
- The Shell installer can be used on Windows with Windows Subsystem for Linux, MSYS or equivalent set of tools.
Caveats
unzip is required
The program unzip is a requirement for
the Shell installer.
sh
$ curl -fsSL https://deno.land/x/dvm/install.sh | sh
Error: unzip is required to install dvm (see: https://github.com/justjavac/dvm#unzip-is-required).
When does this issue occur?
During the install.sh process, unzip is used to extract the zip archive.
How can this issue be fixed?
You can install unzip via brew install unzip on MacOS or
apt-get install unzip -y on Linux(Ubuntu,Debian,Deepin).
Powershell on Windows is required
Currently, we use PowerShell profile to set environment variables due to various reasons, so it's required.
License
Deno Version Manager(dvm) is released under the MIT License. See the bundled LICENSE file for details.
Owner
- Name: ApacheCN 归档
- Login: apachecn-archive
- Kind: organization
- Email: wizard.z@qq.com
- Repositories: 180
- Profile: https://github.com/apachecn-archive
防止重要项目丢失而设立的归档
GitHub Events
Total
Last Year
Dependencies
- actions-rs/toolchain v1 composite
- actions/cache v2 composite
- actions/checkout v2 composite
- hecrj/setup-rust-action v1 composite
- justjavac/action-dvm-release v1 composite
- softprops/action-gh-release v1 composite
- anyhow 1.0.58
- asserts-rs 0.3.0
- atty 0.2.14
- autocfg 1.0.1
- bitflags 1.3.2
- cc 1.0.72
- cfg-if 1.0.0
- clap 3.2.10
- clap_complete 3.2.3
- clap_derive 3.2.7
- clap_lex 0.2.4
- colored 2.0.0
- core-foundation 0.9.2
- core-foundation-sys 0.8.3
- ctor 0.1.22
- dirs 4.0.0
- dirs-sys 0.3.7
- either 1.6.1
- fastrand 1.7.0
- foreign-types 0.3.2
- foreign-types-shared 0.1.1
- getrandom 0.2.3
- hashbrown 0.11.2
- heck 0.4.0
- hermit-abi 0.1.19
- indexmap 1.7.0
- instant 0.1.12
- itoa 1.0.1
- json_minimal 0.1.3
- lazy_static 1.4.0
- libc 0.2.126
- log 0.4.14
- native-tls 0.2.10
- once_cell 1.9.0
- openssl 0.10.38
- openssl-probe 0.1.4
- openssl-src 111.22.0+1.1.1q
- openssl-sys 0.9.72
- os_str_bytes 6.0.0
- output_vt100 0.1.3
- phf 0.10.1
- phf_generator 0.10.0
- phf_macros 0.10.0
- phf_shared 0.10.0
- pkg-config 0.3.24
- ppv-lite86 0.2.15
- proc-macro-error 1.0.4
- proc-macro-error-attr 1.0.4
- proc-macro-hack 0.5.19
- proc-macro2 1.0.39
- quote 1.0.10
- rand 0.8.4
- rand_chacha 0.3.1
- rand_core 0.6.3
- rand_hc 0.3.1
- redox_syscall 0.2.13
- redox_users 0.4.3
- remove_dir_all 0.5.3
- ryu 1.0.9
- schannel 0.1.19
- security-framework 2.4.2
- security-framework-sys 2.4.2
- semver 1.0.12
- serde 1.0.139
- serde_derive 1.0.139
- serde_json 1.0.82
- set_env 1.3.4
- siphasher 0.3.10
- strsim 0.10.0
- syn 1.0.96
- tempfile 3.3.0
- termcolor 1.1.2
- textwrap 0.15.0
- thiserror 1.0.30
- thiserror-impl 1.0.30
- tinyget 1.0.1
- unicode-ident 1.0.0
- vcpkg 0.2.15
- version_check 0.9.3
- wasi 0.10.2+wasi-snapshot-preview1
- which 4.2.5
- winapi 0.3.9
- winapi-i686-pc-windows-gnu 0.4.0
- winapi-util 0.1.5
- winapi-x86_64-pc-windows-gnu 0.4.0