Commands
Every nem command, grouped as in nem --help. Every command also accepts --color, --narration, --quiet, and --verbose; see nem.
Environment
| Command | Description |
|---|---|
| nem exec | Run a command in the composed environment |
| nem lock | Regenerate the lockfile from nem.toml and install |
| nem status | Show declared packages and composed environment variables |
| nem sync | Install locked packages missing on this machine |
| nem unuse | Remove declared packages |
| nem update | Update declared packages to their latest versions |
| nem use | Declare and install packages |
| nem which | Show where a command resolves in the composed environment |
Discovery
| Command | Description |
|---|---|
| nem info | Show a package's details and available versions |
| nem search | Search catalogs for packages |
Catalogs
| Command | Description |
|---|---|
| nem catalog | Manage catalogs |
Shell integration
| Command | Description |
|---|---|
| nem activate | Activate nem for the current shell |
| nem deactivate | Deactivate nem for the current shell |
| nem env | Print the shell script that applies the composed environment |
Maintenance
| Command | Description |
|---|---|
| nem clean | Reclaim disk space in NEM_HOME |
| nem self | Manage this nem installation |
Catalog consumption
| Command | Description |
|---|---|
| nem catalog add | Add a catalog |
| nem catalog disable | Disable configured catalogs |
| nem catalog enable | Enable configured catalogs |
| nem catalog list | List configured catalogs |
| nem catalog remove | Remove a catalog |
| nem catalog reorder | Reorder catalog precedence |
| nem catalog update | Update oci catalogs from their remote |
Catalog maintenance
| Command | Description |
|---|---|
| nem catalog build | Build a catalog's build-from-source packages on the host platform |
| nem catalog bump | Add newer upstream versions to package manifests |
| nem catalog diff | Compare a base catalog's package manifests against a target catalog |
| nem catalog exclude | Exclude package versions, with a reason shown to users |
| nem catalog fill | Download a catalog's upstream artifacts and publish them as archives |
| nem catalog fmt | Rewrite package manifests to canonical form |
| nem catalog lint | Validate package manifests in a catalog |
| nem catalog mirror | Replicate a catalog and its archives to another registry |
| nem catalog outdated | Report packages whose upstream has a newer version |
| nem catalog publish | Publish a catalog to an OCI registry |
| nem catalog test | Install packages and run their declared test steps |
| nem catalog unexclude | Lift the exclusion of package versions |
nem completion
| Command | Description |
|---|---|
| nem completion bash | Generate the autocompletion script for bash |
| nem completion fish | Generate the autocompletion script for fish |
| nem completion powershell | Generate the autocompletion script for powershell |
| nem completion zsh | Generate the autocompletion script for zsh |
nem self
| Command | Description |
|---|---|
| nem self update | Update nem to the latest build on its channel |
Other commands
| Command | Description |
|---|---|
| nem completion | Generate the autocompletion script for the specified shell |
| nem version | Print the version of nem |