Zero-dependency macOS CLI tool to move files to the Trash
npm install mac-trash![]()






> Zero-dependency macOS CLI tool to move files to the Trash
---
* Demo
* Installation
* Usage
* Options
* Changelog
* License

_This module needs Node >=14._
Install with npm:
``bash`
$ npm install mac-trash --global --production
`bash`
$ trash somefile.txt /some/other/file.txt
Show debug information:
`bash`
$ trash --verbose /some/file.txt
Show contextual help:
`bash`
$ trash --help
Show version:
`bash`
$ trash --version
This project uses semver.
| Version | Date | Notes |
| --- | --- | --- |
| 3.0.0 | 2023-01-12 | Drop Node 12 support |2.0.0
| | 2022-01-08 | Rework deletion method, update deps, update Node support (#1) |1.0.1
| | 2020-11-15 | Fix CLI initialization |1.0.0` | 2020-11-15 | Initial version |
|
This project is released under the MIT License.