PSSnips

2.0.0

A terminal-first PowerShell snippet manager with GitHub Gist, GitLab, and Bitbucket integration. Store, search, tag, pin, version, edit, and run local code snippets. Features WSL2/PSRemoting/SQL execution, scheduled tasks, snippet templates, ratings, audit logging, shared team storage, backup/restore, VS Code sync, fuzzy finder, Windows Terminal integration, and an in
A terminal-first PowerShell snippet manager with GitHub Gist, GitLab, and Bitbucket integration. Store, search, tag, pin, version, edit, and run local code snippets. Features WSL2/PSRemoting/SQL execution, scheduled tasks, snippet templates, ratings, audit logging, shared team storage, backup/restore, VS Code sync, fuzzy finder, Windows Terminal integration, and an interactive TUI. Requires PowerShell 7.0 or later.
Show more

Minimum PowerShell version

7.0

Installation Options

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

Install-Module -Name PSSnips -RequiredVersion 2.0.0

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

Install-PSResource -Name PSSnips -Version 2.0.0

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

Copyright

Copyright (c) 2026 MayerMediaCo. Licensed under the MIT License.

Package Details

Author(s)

  • MayerMediaCo

Tags

snippets snippet-manager gist github github-gist gitlab bitbucket productivity terminal windows cli code-snippets devtools developer-tools powershell tui code-reuse automation scripting version-control team wsl remoting sql audit templates scheduling

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 Get-BitbucketSnipList Import-BitbucketSnip Export-BitbucketSnip Sync-BitbucketSnips Publish-Snip Sync-SharedSnips Install-PSSnips Uninstall-PSSnips Start-SnipManager Invoke-SnipCLI Get-StaleSnip Get-SnipStats Export-VSCodeSnips Invoke-FuzzySnip Add-SnipTerminalProfile Get-SnipAuditLog Set-SnipRating Add-SnipComment New-SnipFromTemplate Get-SnipTemplate New-SnipSchedule Get-SnipSchedule Remove-SnipSchedule Initialize-SnipPreCommitHook Sync-SnipMetadata Register-SnipEvent Unregister-SnipEvent

PSEditions

Core

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.Format.ps1xml
  • PSSnips.Tests.ps1
  • PSSnips.psd1
  • PSSnips.psm1
  • README.md
  • ROADMAP.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

Version History

Version Downloads Last updated
3.0.0 3 4/21/2026
2.2.0 3 4/21/2026
2.1.0 2 4/20/2026
2.0.0 (current version) 6 4/20/2026
1.2.2 2 4/20/2026
1.2.1 4 4/20/2026
1.0.1 3 4/20/2026
Show more