# Contributing Welcome to Nushell! To get live support from the community see our [Discord](https://discordapp.com/invite/NtAbbGn), [Twitter](https://twitter.com/nu_shell) or file an issue or feature request here on [GitHub](https://github.com/nushell/nushell/issues/new/choose)! ## Developing ### Setup Nushell requires a recent Rust toolchain and some dependencies; [refer to the Nu Book for up-to-date requirements](https://www.nushell.sh/book/installation.html#build-from-source). After installing dependencies, you should be able to clone+build Nu like any other Rust project: ```bash git clone https://github.com/nushell/nushell cd nushell cargo build ``` ### Useful Commands - Build and run Nushell: ```shell cargo run ``` - Build and run with extra features. Currently extra features include dataframes and sqlite database support. ```shell cargo run --features=extra ``` - Run Clippy on Nushell: ```shell cargo clippy --workspace --features=extra -- -D warnings -D clippy::unwrap_used -A clippy::needless_collect ``` - Run all tests: ```shell cargo test --workspace --features=extra ``` - Run all tests for a specific command ```shell cargo test --package nu-cli --test main -- commands:: ``` - Check to see if there are code formatting issues ```shell cargo fmt --all -- --check ``` - Format the code in the project ```shell cargo fmt --all ``` ### Debugging Tips - To view verbose logs when developing, enable the `trace` log level. ```shell cargo run --release --features=extra -- --log-level trace ```