npm.io
1.1.2 • Published 7 years agoCLI

fresh-cli

Licence
MPL-2.0
Version
1.1.2
Deps
4
Size
20 kB
Vulns
0
Weekly
0
Stars
2

fresh-cli Build status for Fresh CLI Build status for Fresh CLI on Windows

Remove and reinstall your dependencies.

Why?

  • Cross-platform support.
  • Works from any directory.
  • More reliable than npm update.
  • Includes nested dependencies, too.
  • Quick to type and easy to use.
  • Removes safely (cannot rm -rf /).

npm does a much better job creating a dependency tree from scratch than modifying an existing one without breaking anything. By reinstalling node_modules, you put yourself in a more well-known, consistent state.

This project works around many bugs:

Please add your own bugs to the list!

Install

npm install fresh-cli --global

Usage

$ fresh --help

  Usage
    $ fresh [cwd]

  Example
    $ fresh
    $ fresh my-project

Contributing

See our contributing guidelines for more details.

  1. Fork it.
  2. Make a feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request.

License

MPL-2.0 Seth Holladay

Go make something, dang it.

Keywords