Skip to content

neptune clear: Clearing junk metadata manually#

If there is metadata that has already been synchronized with the Neptune servers or trashed, you can manually clear the junk data from local storage (the .neptune folder) with the neptune clear CLI command.

Command syntax: neptune clear [OPTIONS] [ARGUMENTS]

Options             Description
--path <location> Path to a directory containing a .neptune folder.
--help Show command usage and exits.


Clear Neptune metadata junk from the current directory:

neptune clear

Clear junk from the given path:

neptune clear --path PATH_TO_DIRECTORY

Access help and examples:

neptune clear --help

neptune-notebooks incompatibility

Currently, the command does not work together with the Neptune-Jupyter extension (neptune-notebooks).

Until a fix is released, if you have neptune-notebooks installed, you must uninstall it to be able to use the neptune status command.