Command line program to display system information
git clone https://github.com/LonelyPale/sysinfo-cli
cargo add clap
cargo add clap --features derive
cargo add colored
cargo add sysinfo
cargo add libc
cargo add psutil
cargo remove psutil
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
cargo init --bin .
#debug
cargo build
cargo build --bin sysinfo
#release
cargo build --release
cargo build --release --bin sysinfo
cargo build --release --target-dir target/darwin
rustup target list
rustup target add x86_64-unknown-linux-gnu
cargo build --target x86_64-unknown-linux-gnu
TARGET_CC=x86_64-unknown-linux-gnu cargo build --release --target x86_64-unknown-linux-gnu
cargo install cargo-zigbuild
cargo zigbuild --release --target x86_64-unknown-linux-gnu
docker pull rust:1.76.0-buster
docker run -it --rm --user "$(id -u)":"$(id -g)" -v "$PWD":/usr/src/myapp -w /usr/src/myapp rust:1.76.0-buster cargo build --release
docker run -it --rm --user "$(id -u)":"$(id -g)" -v "$PWD":/usr/src/myapp -w /usr/src/myapp rust:1.76.0-buster cargo build --release --target-dir target/linux
md5sum sysinfo*
sha256sum sysinfo*
shasum -a 256 sysinfo*
zip -9 -rj package/sysinfo-0.1.1-darwin-x86_64.zip target/darwin/release/sysinfo
zip -9 -rj package/sysinfo-0.1.1-linux-x86_64.zip target/linux/release/sysinfo
git tag 0.1.1
git push origin 0.1.1
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/LonelyPale/sysinfo-cli/main/bin/install.py | python3