PSSnips
1.0.1
A terminal-first PowerShell snippet manager with GitHub Gist and GitLab integration. Store, search, tag, pin, version, edit, and run local code snippets. Features shared team storage, backup/restore, PSScriptAnalyzer lint, template variables, snippet chaining, and an interactive TUI. Requires PowerShell 7.0 or later.
Minimum PowerShell version
7.0
Installation Options
Owners
Copyright
Copyright (c) 2026 MayerMediaCo. Licensed under the MIT License.
Package Details
Author(s)
- MayerMediaCo
Tags
snippets snippet-manager gist github github-gist gitlab productivity terminal windows cli code-snippets devtools developer-tools powershell tui code-reuse automation scripting version-control team
Functions
Initialize-PSSnips Get-SnipConfig Set-SnipConfig Get-Snip Show-Snip New-Snip Add-Snip Remove-Snip Edit-Snip Invoke-Snip Copy-Snip Set-SnipTag Get-SnipHistory Restore-Snip Test-Snip Export-SnipCollection Import-SnipCollection Get-GistList Get-Gist Import-Gist Export-Gist Invoke-Gist Sync-Gist Get-GitLabSnipList Get-GitLabSnip Import-GitLabSnip Export-GitLabSnip Publish-Snip Sync-SharedSnips Install-PSSnips Uninstall-PSSnips Start-SnipManager Invoke-SnipCLI
PSEditions
Dependencies
This module has no dependencies.
Release Notes
## 1.0.0 — Initial Release
### Features
- Local snippet CRUD: New-Snip, Add-Snip, Show-Snip, Get-Snip, Edit-Snip, Remove-Snip, Copy-Snip
- Snippet tagging, pinning (favourites), and full-text content search
- Run history tracking (runCount, lastRun) with sortable listings
- Snippet versioning with Get-SnipHistory and Restore-Snip
- Template variable substitution ({{PLACEHOLDER}} syntax)
- Snippet chaining (Invoke-Snip -Pipeline)
- PSScriptAnalyzer integration (Test-Snip)
- GitHub Gist integration: list, get, import, export, invoke, sync
- GitLab snippet integration: list, get, import, export
- Shared team storage via UNC/local path (Publish-Snip, Sync-SharedSnips)
- Backup and restore (Export-SnipCollection, Import-SnipCollection)
- Profile integration (Install-PSSnips, Uninstall-PSSnips)
- SHA-256 duplicate detection on new snippets
- Interactive TUI with arrow-key navigation (Start-SnipManager / snip)
- Supports PS1, Python, JavaScript, Batch, Bash, Ruby, Go execution
- PlatyPS-generated external help (en-US/PSSnips-help.xml)
FileList
- PSSnips.nuspec
- .github\ISSUE_TEMPLATE\bug_report.yml
- .github\ISSUE_TEMPLATE\feature_request.yml
- .github\PULL_REQUEST_TEMPLATE.md
- .github\workflows\publish.yml
- .github\workflows\test.yml
- CHANGELOG.md
- CONTRIBUTING.md
- LICENSE
- PSScriptAnalyzerSettings.psd1
- PSSnips.Tests.ps1
- PSSnips.psd1
- PSSnips.psm1
- README.md
- SECURITY.md
- docs\Add-Snip.md
- docs\Copy-Snip.md
- docs\Edit-Snip.md
- docs\Export-Gist.md
- docs\Export-GitLabSnip.md
- docs\Export-SnipCollection.md
- docs\Get-Gist.md
- docs\Get-GistList.md
- docs\Get-GitLabSnip.md
- docs\Get-GitLabSnipList.md
- docs\Get-Snip.md
- docs\Get-SnipConfig.md
- docs\Get-SnipHistory.md
- docs\Import-Gist.md
- docs\Import-GitLabSnip.md
- docs\Import-SnipCollection.md
- docs\Initialize-PSSnips.md
- docs\Install-PSSnips.md
- docs\Invoke-Gist.md
- docs\Invoke-Snip.md
- docs\New-Snip.md
- docs\PSSnips.md
- docs\Publish-Snip.md
- docs\Remove-Snip.md
- docs\Restore-Snip.md
- docs\Set-SnipConfig.md
- docs\Set-SnipTag.md
- docs\Show-Snip.md
- docs\Start-SnipManager.md
- docs\Sync-Gist.md
- docs\Sync-SharedSnips.md
- docs\Test-Snip.md
- docs\Uninstall-PSSnips.md
- docs\snip.md
- en-US\PSSnips-help.xml