mirror of
https://github.com/codex-storage/cli.git
synced 2025-02-28 08:30:41 +00:00
fixing the abrupt stop by handling path variables
Codex Installer
A command-line interface for installing and interacting with Codex Storage.
Features
- Install and manage Codex node
- Run Codex node with custom configuration
- Check node status and connected peers
- Upload and download files
- View local data
- Cross-platform support (Windows, Linux, macOS)
Installation
npm install -g codexstorage
Or run directly with npx:
npx codexstorage
Usage
Interactive Mode
Simply run:
codexstorage
This will start the interactive CLI menu where you can:
- Download and install Codex
- Run Codex node
- Check node status
- Upload a file
- Download a file
- Show local data
- Uninstall Codex node
Command Line Mode
Upload a file:
codexstorage --upload <filename>
Download a file:
codexstorage --download <cid>
Requirements
- Node.js 14 or higher
- For Linux users: libgomp1 library
- For Windows users: curl command available
Development
- Clone the repository
- Install dependencies:
npm install
- Run the CLI:
npm start
License
MIT
Description
Languages
JavaScript
100%