You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/2.essentials/6.commands.md
+87-52Lines changed: 87 additions & 52 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,13 +18,6 @@ Load the plugin manager with plugins and language modules.
18
18
plg load
19
19
```
20
20
21
-
**Options**:
22
-
-`--ignore`: Load the plugin manager while ignoring missing or conflicting packages.
23
-
24
-
```bash
25
-
plg load --ignore
26
-
```
27
-
28
21
### Unload Plugin Manager
29
22
Unload the plugin manager and all associated plugins and language modules.
30
23
@@ -78,119 +71,161 @@ Display the current version of Plugify.
78
71
plg version
79
72
```
80
73
81
-
##**Package Manager Commands**
74
+
# **Package Manager Commands (mamba)**
82
75
83
-
Plugify's package manager allows you to install, update, remove, and search for packages. It also supports managing local and remote repositories.
76
+
Mamba is a fast, drop-in replacement for conda and uses the same CLI patterns and configuration. This guide replaces the old Plugify (`plg`) commands with **mamba** equivalents and gives a few practical notes for migrating your workflows. :contentReference[oaicite:0]{index=0}
77
+
78
+
---
84
79
85
80
### Install Packages
86
-
Install one or more packages by name.
81
+
Install one or more packages by name:
87
82
88
83
```bash
89
-
plg install _package_name1_ _package_name2_ ...
84
+
mamba install package_name1 package_name2 ...
90
85
```
91
86
92
87
**Options**:
93
-
- Install packages from a local manifest file:
88
+
89
+
- Install packages from a local package list (one package per line):
94
90
95
91
```bash
96
-
plg install --file D:/_package_file_.json
92
+
mamba install --file /path/to/package_file.txt
97
93
```
98
94
99
-
- Install packages from a remote manifest file:
95
+
*(This accepts the same file-format as `conda install --file` — a simple list of package specs.)*
96
+
97
+
- Create an environment from an `environment.yml` (recommended for reproducible envs):
- Always use the `--ignore` flag with caution, as it may lead to unstable behavior if dependencies are missing or conflicted.
195
-
- Regularly update your packages to ensure compatibility and security.
196
-
- Use snapshots to back up your package configurations before making significant changes.
208
+
**Note**: Only add channels from trusted sources. Channel order and priority matter — prefer a pinned channel list (e.g., `conda-forge`then`defaults`) to avoid unexpected package mixes. :contentReference[oaicite:5]{index=5}
209
+
210
+
---
211
+
212
+
### Create a Snapshot / Export Environment
213
+
For backups and reproducibility, export the environment in one of two common ways:
214
+
215
+
- Export a YAML environment spec (cross-platform, recommended):
Copy file name to clipboardExpand all lines: content/4.languages/1.python/2.first-plugin.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,9 +25,9 @@ By the end of this tutorial, you’ll have a working Python plugin that can be l
25
25
26
26
## Directory Structure
27
27
28
-
To ensure seamless integration with the Plugify framework, your plugin must follow a specific directory structure. Each plugin should be placed inside its own folder within the `plugins/` directory. The folder name must match the plugin’s name and follow these rules:
28
+
To ensure seamless integration with the Plugify framework, your plugin must follow a specific directory structure. Each plugin should be placed inside its own folder within the `extensions` directory. The folder name must match the plugin’s name and follow these rules:
0 commit comments