toolenv

command module
v0.0.0-...-657bf25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2025 License: MIT Imports: 13 Imported by: 0

README

toolenv

A virtual tool environment management

Installation

go install github.com/is-equal/toolenv@latest

Configuration

An example of the toolenv.yml

tools:
  - name: node
    version: 22.18.0
    url: "https://nodejs.org/dist/v{{.version}}/node-v{{.version}}-{{.os}}-{{.arch}}.tar.xz"
    env:
      PATH: "storage/node@{{.version}}/bin"
    normalization:
      arch:
        amd64: x64

  - name: go
    version: 1.25.0
    url: "https://golang.org/dl/go{{.version}}.{{.os}}-{{.arch}}.tar.gz"
    env:
      GOROOT: "storage/go@{{.version}}"
      PATH: "storage/go@{{.version}}/bin"

Usage

To download the tools run:

toolenv

To activate the environment run:

source ./env/bin/activate

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL