Install
crates.io, npm அல்லது release-ல இருந்து
cargo install rust-anything
rust-anything setup
npm install -g rust-anything
rust-anything setup
JavaScript projects-க்கு npm அதே binary-ஐ install பண்ணும்.
macOS, Linux மற்றும் Windows-க்கான prebuilt binaries ஒவ்வொரு GitHub release-லயும் இணைக்கப்பட்டிருக்கு. Claude Code-ல இதை ஒரு plugin-ஆவும் install பண்ணலாம் (MCP server மற்றும் skill கிடைக்கும்; CLI உங்க PATH-ல இருக்கணும்):
/plugin install rust-anything --marketplace erkamyaman/rust-anything
Source-ல இருந்து
cargo install --path .
record, diff மற்றும் bench original code-ஐ அதோட சொந்த runtime-ல run பண்ணும்: TS-க்கு Node 22.6+ (இது .ts sources-ஐ நேரடியா run பண்ணும், 22.6 முதல் 22.17 வரை --experimental-strip-types சேர்க்கும்), Python மற்றும் C (ctypes)-க்கு Python 3.9+, Go 1.22+, Ruby 3+, JDK 17+ (javac மற்றும் java), Kotlin-க்கு kotlinc, FFI extension கூட PHP 8+, C#-க்கு .NET SDK (dotnet), PowerShell 7.4+ (pwsh), மற்றும் Swift 5.9+ (swiftc, Xcode அல்லது Swift toolchain-ல இருந்து). NODE_OPTIONS-ல --cpu-prof-ஐ அந்த Node அனுமதிக்க மறுக்கும்போது (22.14 அப்படிப் பண்ணும்), profile அதை node command-க்கு arguments-ஆ அனுப்பும்; npx அல்லது npm run மாதிரியான wrapper வழியா run ஆகும்போது, அங்க அதை அனுமதிக்கிற Node தேவைப்படும் (24 அனுமதிக்கும்). C-க்கு ஒரு C compiler-உம் தேவை. wasm bridges-க்கு rustup target add wasm32-unknown-unknown மற்றும் cargo install wasm-bindgen-cli --version <the crate's wasm-bindgen version> --locked தேவை; சரியான version-ஐ build சொல்லும்.
Windows
Native Windows CI x86_64-pc-windows-msvc Rust target-ஐப் பயன்படுத்துது. Stable MSVC toolchain மற்றும் Desktop development with C++ workload கூட Visual Studio Build Tools-ஐ install பண்ணுங்க; C bridges மற்றும் native Rust extensions-க்கு C compiler மற்றும் linker கட்டாயம் தேவை. நீங்க migrate பண்ற source language-க்கான runtime-ஐ install பண்ணுங்க. Python python3 இல்லன்னா python-ஆ இருக்கலாம்; rust-anything ரெண்டையுமே detect பண்ணும். GNU Windows target-ஐ CI test பண்றதில்ல.
Developer PowerShell prompt-ல இருந்து native bridge integration suite-ஐ run பண்ணுங்க:
rustup default stable-x86_64-pc-windows-msvc
cargo test --locked --test native -- --nocapture
இந்த suite உண்மையான DLL-backed Node மற்றும் Python extensions-ஐயும், PATH-ல இருக்கிற ஒவ்வொரு runtime-க்கும் supported native bridges-ஐயும் build பண்ணி load பண்ணும். இல்லாத optional runtimes skipped-ஆ report ஆகும்; Cargo, active Rust standard library, மற்றும் MSVC linker கட்டாயம் இருக்கணும். std கண்டுபிடிக்க முடியலன்னு Cargo சொன்னா, rustup target remove x86_64-pc-windows-msvc போட்டு அதுக்கு அப்புறம் rustup target add x86_64-pc-windows-msvc போட்டு active target-ஐ மறுபடியும் install பண்ணுங்க. Linking fail ஆனா, Visual Studio Developer PowerShell-ல இருந்து run பண்ணி where.exe link MSVC linker-ஐக் கண்டுபிடிக்குதான்னு check பண்ணுங்க. Tests இடைவெளிகள் (spaces) மற்றும் Unicode characters இருக்கிற ஒரு path உட்பட temporary folders-ஐப் பயன்படுத்தி, run வெற்றிகரமா முடிஞ்சதும் generate ஆன artifacts-ஐ delete பண்ணிரும்.
Update அல்லது remove பண்ணுங்க
cargo install rust-anything # update (Cargo)
npm install -g rust-anything@latest # update (npm)
rust-anything setup # agent settings-ஐ refresh பண்ணும்
rust-anything setup --remove && cargo uninstall rust-anything # remove (Cargo)
rust-anything setup --remove && npm uninstall -g rust-anything # remove (npm)
setup --remove rust-anything சேர்த்த entries-ஐ மட்டும் தான் நீக்கும்; அது save பண்ணி வச்ச copies (<file>.rust-anything.bak) நீங்க delete பண்ற வரை அங்கயே இருக்கும்.