installer

package
v1.39.1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: MIT Imports: 3 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RawInstalledBy

func RawInstalledBy() string

RawInstalledBy returns the raw value of the `.installed-by.txt` file in the same directory as the executing instance of azd after removing leading and trailing whitespace.

Types

type InstallType

type InstallType string
const InstallTypeBrew InstallType = "brew"
const InstallTypeChoco InstallType = "choco"
const InstallTypeDeb InstallType = "deb"
const InstallTypePs InstallType = "install-azd.ps1"
const InstallTypeRpm InstallType = "rpm"
const InstallTypeSh InstallType = "install-azd.sh"
const InstallTypeUnknown InstallType = ""
const InstallTypeWinget InstallType = "winget"

func InstalledBy

func InstalledBy() InstallType

InstalledBy Returns the type of installer that installed the CLI, based on the contents of the `.installed-by.txt` file in the same directory as the executing instance of azd.

Jump to

Keyboard shortcuts

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