-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
git : The term 'git' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + git clone https://github.com/Path/To.git $GitGubLocaDir + ~~~ + CategoryInfo : ObjectNotFound: (git:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
However, there is no official API or nice, clean way of updating the environment variables of a running process. Chocolatey uses this script and you can copy that and use it too, but while this will work in 90+% of cases it isn't a perfect replication of the environment that a new PowerShell process would get. The "cleanest" way is to either just use a new PowerShell process (that isn't a child of your old one) or to use a package manager that doesn't rely on programs continuously appending their own entries to PATH, but rather uses just a single directory and puts shims to all installed programs in there - such as scoop instead of winget. Then you won't have this problem at all.
However, there is no official API or nice, clean way of updating the environment variables of a running process. Chocolatey uses this script and you can copy that and use it too, but while this will work in 90+% of cases it isn't a perfect replication of the environment that a new PowerShell process would get. The "cleanest" way is to either just use a new PowerShell process (that isn't a child of your old one) or to use a package manager that doesn't rely on programs continuously appending their own entries to PATH, but rather uses just a single directory and puts shims to all installed programs in there - such as scoop instead of winget. Then you won't have this problem at all.