Gets the top level location for tools/software installed outside of package folders.
Get-ToolsLocation
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.
This is the successor to the poorly named Get-BinRoot
. Available as
Get-ToolsLocation
in 0.9.10+. If you need compatibility with pre
0.9.10, please use Get-BinRoot
.
Sets an environment variable called ChocolateyToolsLocation
. If the
older ChocolateyBinRoot
is set, it uses the value from that and
removes the older variable.
Get-BinRoot
None
None
[[Function Reference|HelpersReference]]
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