Atmosphere

0.2.0-Alpha

Cmdlets for working with environment variables and paths

Minimum PowerShell version

7.0

This is a prerelease version of Atmosphere.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Atmosphere -RequiredVersion 0.2.0-Alpha -AllowPrerelease

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name Atmosphere -Version 0.2.0-Alpha -Prerelease

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Package Details

Author(s)

  • Isabella Muerte

Tags

Environment Utility EnvVars Linux Windows Mac

Cmdlets

Get-EnvironmentVariable Set-EnvironmentVariable Get-EnvironmentPath Get-LDLibraryPath Get-PkgConfigPath Get-PSModulePath Get-PythonPath Get-SystemPath Update-LDLibraryPath Update-PkgConfigPath Update-PSModulePath Update-PythonPath Update-SystemPath Import-Environment Push-Environment Pop-Environment

PSEditions

Core

Dependencies

  • .NETCoreApp 3.1

    • No dependencies.

Release Notes

# 0.2.0-Alpha

♻ Rewrote all cmdlets as Binary Cmdlets.

While this might be considered unnecessary, it has resulted in less memory
usage and faster execution. Additionally, several type system "hacks" were
fixed with this move. As an example a properly typed dictionary can be given to
`Push-Environment`

✨ Added Several Convenience Cmdlets

- `Get-LDLibraryPath`
- `Get-PkgConfigPath`
- `Get-PSModulePath`
- `Get-PythonPath`
- `Get-SystemPath`

These all return well known environment variables. `Get-SystemPath` refers to
the `${env:PATH}` variable. There are also `Update-` versions of each.

- `Update-LDLibraryPath`
- `Update-PkgConfigPath`
- `Update-PSModulePath`
- `Update-PythonPath`
- `Update-SystemPath`

✨ Added `Import-Environment` cmdlet

This is currently underpowered (hence the 0.2.0-Alpha), but it is currently
capable of importing JSON files into a user's environment. Soon we will support
PowerShell's PSD1 format, and .env files as well.

🚚 Renamed several cmdlets and reorganized operations.

* `Get-EnvironmentVariable -AsPath` is now `Get-EnvironmentPath`
* Likewise, `Set-EnvironmentVariable -AsPath` is now `Set-EnvironmentPath`
* Update-EnvironmentVariable will now error if the environment variable does
  not exist

🔥 Removed builtin Aliases.

These could easily clash and users should alias cmdlets themselves. We aren't
Microsoft, so providing aliases should be done in a user's profile.

# 0.1.1

🐛 Fix output showing up when updating an environment variable
🐛 Fix inability to deduplicate environment variables
✨ The path to a file can now be added. It's directory will be used instead.

# 0.1.0

Initial release!

FileList

Version History

Version Downloads Last updated
0.3.1 760 12/28/2022
0.2.0-Alpha (current version) 61 8/19/2021
0.1.1 330 11/10/2019
0.1.0 53 11/10/2019