Installing Plugins
Use the command palette to install plugins from the registry:1
Open Command Palette
Press
Ctrl+P to open the command palette, then type >.2
Search for Install Command
Type “pkg: Install Plugin” and press Enter.
3
Browse Available Plugins
Select a plugin from the list of available plugins in the registry.
4
Restart Fresh
Restart Fresh to activate the newly installed plugin.
Package Manager Commands
All package management is done through the command palette (Ctrl+P >):
Installing from Git URL
Any git repository can be installed directly:1
Open Command Palette
Press
Ctrl+P > to open the command palette.2
Select Install from URL
Search for
pkg: Install from URL and press Enter.3
Enter Git URL
Paste the git repository URL:
4
Restart Fresh
Restart Fresh to activate the plugin.
Monorepo Support
For repositories containing multiple plugins, use a URL fragment to specify the subdirectory:packages/rainbow-brackets directory from the repository.
Package Locations
Installed packages are stored in your config directory:Each package is a git repository, so you can update manually with
git pull if needed.Custom Registry Sources
By default, Fresh uses the official package registry. You can add additional registries in your config:config.json
pkg: Sync Registry from the command palette to fetch the latest package lists.
Plugin Development Location
When developing your own plugins, place them in the main plugins directory:.ts file in this directory will be automatically loaded when Fresh starts.
Bundled Plugins
Fresh ships with many production-ready plugins already installed:Essential Plugins
Git Integration
Git Integration
- git_grep.ts - Interactive search through git-tracked files
- git_find_file.ts - Fuzzy file finder for git repositories
- git_blame.ts - Git blame view with commit navigation
- git_log.ts - Git log viewer with history browsing
- git_gutter.ts - Show git diff markers in the gutter
Code Tools
Code Tools
- diagnostics_panel.ts - LSP diagnostics panel with navigation
- find_references.ts - Find references across the codebase
- todo_highlighter.ts - Highlights TODO/FIXME/HACK in comments
- color_highlighter.ts - Preview color codes inline
Editing Features
Editing Features
- search_replace.ts - Search and replace functionality
- path_complete.ts - Path completion in prompts
- markdown_compose.ts - Semi-WYSIWYG markdown editing
- merge_conflict.ts - 3-way merge conflict resolution
Language Support
Language Support
LSP integration for:
- TypeScript/JavaScript (
typescript-lsp.ts) - Rust (
rust-lsp.ts) - Python (
python-lsp.ts) - Go (
go-lsp.ts) - C/C++ (
clangd-lsp.ts) - And many more…
Using Plugins
Once installed, plugins automatically register their commands. Access them through:Command Palette
PressCtrl+P > and search for the plugin’s commands:
Keybindings
Plugins can register keybindings. Check your config or the plugin’s documentation for available shortcuts.Automatic Features
Some plugins work automatically:- todo_highlighter.ts - Automatically highlights TODO/FIXME keywords
- color_highlighter.ts - Automatically previews color codes
- git_gutter.ts - Automatically shows git changes in the gutter
- diagnostics_panel.ts - Automatically shows LSP diagnostics
Updating Plugins
Keep your plugins up to date:1
Open Command Palette
Press
Ctrl+P > to open the command palette.2
Update All Packages
Search for
pkg: Update All and press Enter.3
Restart Fresh
Restart Fresh to load the updated plugins.
Manual Update
Since each package is a git repository, you can also update manually:Removing Plugins
Remove unwanted plugins:1
Open Command Palette
Press
Ctrl+P > to open the command palette.2
Remove Package
Search for
pkg: Remove Package and select the plugin to remove.3
Restart Fresh
Restart Fresh to complete the removal.
Troubleshooting
Plugin Not Loading
Check Plugin Location
Check Plugin Location
Ensure the plugin is in the correct directory:
Check TypeScript Syntax
Check TypeScript Syntax
Plugins must have valid TypeScript syntax. Check for syntax errors:
Check Debug Logs
Check Debug Logs
Run Fresh with debug logging:
Restart Fresh
Restart Fresh
Plugins are only loaded at startup. Always restart Fresh after installing or modifying plugins.
Plugin Conflicts
If two plugins conflict (e.g., both register the same keybinding), the last loaded plugin wins. Check your keybindings config to resolve conflicts.Next Steps
Plugin Development
Learn how to create your own plugins
Plugin Examples
Explore real plugin examples with code
Plugin Overview
Learn about the plugin system architecture
API Reference
Complete API documentation