Skip to content
version-foxPublic

About

Deno plugin for vfox

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Repository files navigation

vfox-deno

中文 | English

Deno plugin for vfox.

It installs Deno releases from the denoland/deno GitHub releases, verifies each download against Deno's SHA-256 checksum where one is published, and can adopt a Deno that is already on the machine instead of downloading another copy.

Install

After installing vfox, add the plugin, install a Deno, and select it:

vfox add deno
vfox install deno@2
vfox use --global deno@2
deno --version

deno --version shows the Deno that is selected. For deno to be on the PATH, vfox has to be hooked into your shell, see its quick start.

vfox search deno lists the stable releases that have a download for your platform, newest first.

Versions

A version is a Deno release number. Write as much of it as you need; the plugin takes the newest release that starts with what you typed:

vfox install deno@latest       # newest stable release
vfox install deno@2            # newest 2.x
vfox install deno@2.7          # newest 2.7.x
vfox install deno@2.7.0        # exactly 2.7.0
vfox install deno@v2.7.0       # the same, with the v that tags carry

Pre-releases are not listed, so they cannot be installed by name here. See docs/versions.md for installing, using, searching and the installed names.

Platforms

Operating system CPU Deno build
Linux x86_64, arm64 unknown-linux-gnu (glibc)
macOS x86_64 (Intel), arm64 apple-darwin
Windows x86_64, arm64 pc-windows-msvc (arm64 from 2.6.8)

Other operating systems and CPUs are not supported. See docs/platforms.md for the builds, the first version of each and the limits.

Already installed Deno

If Deno is already on the machine — from the Deno install script, Cargo, Homebrew, asdf, mise, Scoop, winget or somewhere on PATH — vfox link --detect deno adopts it instead of downloading another copy. It needs vfox 1.1.0 or later. See docs/link.md for where it looks, what names it gives the installs, and how to link one by hand.

Documentation

Using the plugin

  • Versions: how to write a version, and installing, using, searching and the installed names
  • Platforms: which builds exist for which operating system and CPU, and from which version
  • Already installed Deno: adopting the Deno on the machine with vfox link --detect deno
  • Troubleshooting: the messages the plugin prints and what to do about them
  • Changes: what each release changed

Working on the plugin

  • Development: how the plugin works, how to change it, test it and release it
  • E2E tests: the end-to-end suite on Ubuntu and Windows

Thanks

  • Deno, whose releases this plugin installs
  • vfox, the version manager this plugin extends

About

Deno plugin for vfox

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages