Repository navigation
Installation
This guide will help you install Transf-ORM-CLI on your system.
Before installing Transf-ORM-CLI, make sure your system meets one of these requirements:
Option A: Using npm (Recommended)
- Node.js 14.0.0 or later
- npm or yarn (comes with Node.js)
Option B: Using Rust/Cargo
- Rust 1.70.0 or later
- Cargo (comes with Rust)
Both options also need:
- Git (for cloning the repository)
- Supported OS: Linux, macOS, Windows
# Check Node.js and npm version (for npm installation)
node --version
npm --version
# Check Rust version (for Cargo installation)
rustc --version
cargo --version
# Check Git version
git --versionIf you don't have Node.js installed, visit nodejs.org. If you don't have Rust installed, visit rustup.rs.
This is the recommended method if you want the latest features or plan to contribute.
# Clone the repository
git clone https://github.com/Transf-ORM/Transf-ORM-CLI.git
cd Transf-ORM-CLI
# Build the project
cargo build --release
# The binary will be at: ./target/release/transf-ormIf the package is published to npm:
npm install -g transf-orm-cliOr using yarn:
yarn global add transf-orm-cliIf you prefer using Rust tooling:
cargo install transf-orm-cliVisit the GitHub Releases page and download the binary for your platform.
After installation, verify it works:
transf-orm --version
# Or if built from source:
./target/release/transf-orm --versionYou should see the version number.
# Get help
transf-orm --help
# List available commands
transf-orm helpIf you built from source and want to use transf-orm from anywhere:
# Add to PATH (update path if needed)
export PATH="$PATH:$HOME/path/to/Transf-ORM-CLI/target/release"
# Make it permanent (add to ~/.bashrc or ~/.zshrc)
echo 'export PATH="$PATH:$HOME/path/to/Transf-ORM-CLI/target/release"' >> ~/.bashrc- Build the project (see Method 1)
- Right-click This PC or My Computer → Properties
- Click Advanced system settings → Environment Variables
- Under User variables, click New and add:
- Variable:
PATH - Value:
C:\path\to\Transf-ORM-CLI\target\release
- Variable:
The binary is not in your PATH. Either:
- Use the full path:
./target/release/transf-orm - Add the directory to your PATH (see section above)
You need to install a C compiler:
Linux (Debian/Ubuntu):
sudo apt-get install build-essentialLinux (Fedora/RHEL):
sudo dnf install gccmacOS:
xcode-select --installUpdate Rust to the latest stable version:
rustup update stableMake sure you have the latest Cargo dependencies:
cargo update
cargo clean
cargo build --releaseAfter successful installation:
- Read Quick Start to get started
- Check Basic Usage for common commands
- Explore Command Reference for all available commands
- See Configuration to customize your setup
If you encounter issues during installation:
|
Manech DUBREIL dmanech@gmail.com |
Timéo TRÉGAROT timeo.tregarot@epitech.eu |
Aymeric JOUANNET-MIMY aymeric.jouannet-mimy@epitech.eu |
Esteban BOUYAULT-MIMY esteban.bouyault-yvanez@epitech.eu |
Arthur DRAHY arthur.drahy@epitech.eu |