
Product
Introducing Data Exports
Export Socket alert data to your own cloud storage in JSON, CSV, or Parquet, with flexible snapshot or incremental delivery.
CLI tool to do basic file operations (copy, read, write, move...) in a cross-platform way
CLI tool to do basic file operations in a cross-platform way. Uses fs-extra under the hood.
Install globally:
npm i -g file-cli
Or install into your project's dev-dependencies to use in your scripts:
npm i -D file-cli
The CLI can be used as fcli, which is a little shorter than file-cli.
Run fcli --help to view a list of commands in your terminal.
fcli read <path>
Reads a file and prints it to stdout
fcli write <path> <data>
Writes data to a file
fcli ensure <path> [-f]
Ensures a file or directory exists.
-f, --file: path is a filefcli copy <from> <to> [-o]
Copies a file or the contents of a directory (unix equivalent: cp -r)
-o, --overwrite: overwrite target file if it already existsfcli move <from> <to> [-o]
Moves or renames a file (unix equivalent: mv)
-o, --overwrite: overwrite target file if it already existsfcli remove <path>
Removes a file or directory (unix equivalent: rm -rf)
FAQs
CLI tool to do basic file operations (copy, read, write, move...) in a cross-platform way
We found that file-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Export Socket alert data to your own cloud storage in JSON, CSV, or Parquet, with flexible snapshot or incremental delivery.

Research
/Security News
Bitwarden CLI 2026.4.0 was compromised in the Checkmarx supply chain campaign after attackers abused a GitHub Action in Bitwarden’s CI/CD pipeline.

Research
/Security News
Docker and Socket have uncovered malicious Checkmarx KICS images and suspicious code extension releases in a broader supply chain compromise.