mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
@@ -0,0 +1,25 @@
|
||||
cask "nvs" do
|
||||
version "1.7.1"
|
||||
sha256 "0df024c8c8489a63674cac148e766eab0cc2de3cd8e97c6caffd8e117a09863e"
|
||||
|
||||
url "https://github.com/jasongin/nvs/archive/refs/tags/v#{version}.tar.gz"
|
||||
name "Node Version Switcher"
|
||||
desc "Cross-platform tool for switching between versions and forks of Node.js"
|
||||
homepage "https://github.com/jasongin/nvs"
|
||||
|
||||
installer script: {
|
||||
executable: "nvs-#{version}/homebrew/install.sh",
|
||||
args: ["#{caskroom_path}/latest"],
|
||||
}
|
||||
|
||||
uninstall trash: "~/.nvs"
|
||||
|
||||
# No zap stanza required
|
||||
|
||||
caveats <<~EOS
|
||||
NVS installs all Node.js versions to ~/.nvs by default.
|
||||
To change this behavior, remove ~/.nvs and make the
|
||||
following modification to your shell profile:
|
||||
export $NVS_HOME=/your/preferred/location
|
||||
EOS
|
||||
end
|
||||
Reference in New Issue
Block a user