An open API service indexing awesome lists of open source software.

https://github.com/hapticx/nmr

Nim package manager
https://github.com/hapticx/nmr

Last synced: about 1 year ago
JSON representation

Nim package manager

Awesome Lists containing this project

README

          

# NMR
### Nim pkg Manager

## Get Started

to start you should just install it and use:
```shell
nimble install nmr
```

and run:
```shell
nmr
```

## Commands
Run `nmr --help` for detailed usage.

List of available commands:
- [x] `init` - Initialize a new project
- [x] `install|i` - Install package(s) and deps
- [ ] `update` - Update package(s) by semver
- [x] `upgrade|up` - Upgrade packages list to latest
- [ ] `remove` - Remove package(s)
- [x] `deps-graph|dg` - Show dependency graph
- [x] `clean-cache|clnc` - Show dependency graph
- [ ] `publish` - Publish a package
- [x] `search|s` - Search for packages
- [x] `info` - Shows info about package
- [ ] `` - Executes specified task

## How It Works
`nmr` keeps all your dependencies locally in one folder - `deps`.

When you install any libraries via `nmr`, it finds any `config.nims` inside your project and creates `nimble.paths` into these folders with `--path:"..."` lines for dependencies work.

Also `nmr` creates `.cache` folder inside your project to keep all cached dependencies to use it in `deps-graph` and `install` commands.