# rust ### Installation: ```bash $ brew install rustup-init ``` Installer le compilateur et Cargo, le gestionnaire de paquet: ```bash $ rustup-init Welcome to Rust! This will download and install the official compiler for the Rust programming language, and its package manager, Cargo. Rustup metadata and toolchains will be installed into the Rustup home directory, located at: /Users/bruno/.rustup This can be modified with the RUSTUP_HOME environment variable. The Cargo home directory located at: /Users/bruno/.cargo This can be modified with the CARGO_HOME environment variable. The cargo, rustc, rustup and other commands will be added to Cargo's bin directory, located at: /Users/bruno/.cargo/bin This path will then be added to your PATH environment variable by modifying the profile files located at: /Users/bruno/.profile /Users/bruno/.bash_profile /Users/bruno/.bashrc /Users/bruno/.zshenv You can uninstall at any time with rustup self uninstall and these changes will be reverted. Current installation options: default host triple: aarch64-apple-darwin default toolchain: stable (default) profile: default modify PATH variable: yes 1) Proceed with installation (default) 2) Customize installation 3) Cancel installation ``` ### Installer kiro-editor: ```bash $ cargo install kiro-editor Updating crates.io index Downloaded kiro-editor v0.4.3 Downloaded 1 crate (38.2 KB) in 1.59s Installing kiro-editor v0.4.3 Downloaded dirs-sys-next v0.1.2 Downloaded getopts v0.2.21 Downloaded term_size v0.3.2 Downloaded unicode-width v0.1.9 Downloaded termios v0.3.3 Downloaded term v0.7.0 Downloaded jemallocator v0.3.2 Downloaded libc v0.2.117 Downloaded jemalloc-sys v0.3.2 Downloaded signal-hook-registry v1.4.0 Downloaded signal-hook v0.3.13 Downloaded fs_extra v1.2.0 Downloaded cfg-if v1.0.0 Downloaded cc v1.0.72 Downloaded dirs-next v2.0.0 Downloaded 15 crates (2.2 MB) in 0.68s (largest was `jemalloc-sys` at 1.3 MB) Compiling libc v0.2.117 Compiling fs_extra v1.2.0 Compiling cc v1.0.72 Compiling cfg-if v1.0.0 Compiling signal-hook v0.3.13 Compiling unicode-width v0.1.9 Compiling getopts v0.2.21 Compiling jemalloc-sys v0.3.2 Compiling dirs-sys-next v0.1.2 Compiling signal-hook-registry v1.4.0 Compiling termios v0.3.3 Compiling term_size v0.3.2 Compiling dirs-next v2.0.0 Compiling term v0.7.0 Compiling jemallocator v0.3.2 Compiling kiro-editor v0.4.3 Finished release [optimized + debuginfo] target(s) in 1m 05s Installing /Users/bruno/.cargo/bin/kiro Installed package `kiro-editor v0.4.3` (executable `kiro`) ```