installer

package
v1.1.10 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Installer

type Installer struct {
	Config     *config.Config
	LibDir     string
	GlobalMode bool
	// contains filtered or unexported fields
}

Installer handles dependency installation

func New

func New(cfg *config.Config) *Installer

New creates a new Installer with the given configuration

func (*Installer) Install

func (i *Installer) Install() error

Install downloads and installs all dependencies

func (*Installer) InstallPackages

func (i *Installer) InstallPackages(packages []string) error

InstallPackages installs specific packages from command line arguments

func (*Installer) SetGlobalMode

func (i *Installer) SetGlobalMode(global bool)

SetGlobalMode enables global installation mode

Jump to

Keyboard shortcuts

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