Get-ToolsLocation

Get-ToolsLocation

Get-ToolsLocation

Gets the top level location for tools/software installed outside of package folders.

Syntax

Get-ToolsLocation

Description

Creates or uses an environment variable that a user can control to communicate with packages about where they would like software that is not installed through native installers, but doesn't make much sense to be kept in package folders. Most software coming in packages stays with the package itself, but there are some things that seem to fall out of this category, like things that have plugins that are installed into the same directory as the tool. Having that all combined in the same package directory could get tricky.

Notes

Sets an environment variable called ChocolateyToolsLocation. If the older ChocolateyBinRoot is set, it uses the value from that and removes the older variable.

Aliases

Get-BinRoot

Inputs

None

Outputs

None

Parameters

Function Reference

:choco-info: NOTE

This documentation has been automatically generated from Import-Module "$env:ChocolateyInstall\helpers\chocolateyInstaller.psm1" -Force; Get-Help Get-ToolsLocation -Full.

View the source for Get-ToolsLocation