diff options
| author | hc <hc@email.ch> | 2025-06-25 19:40:43 +0800 |
|---|---|---|
| committer | hc <hc@email.ch> | 2025-06-25 19:40:43 +0800 |
| commit | ccdde5f4424836fc8e9cc98c204510fed9612e70 (patch) | |
| tree | df1500f00b2f0b32b8729732454585c318b51110 /setup/core/packages | |
| parent | d6eb567da3e6d2e64ebf22adf1fc6d21c47090f8 (diff) | |
merged setup and contaienrs
Diffstat (limited to 'setup/core/packages')
| -rwxr-xr-x | setup/core/packages/install_claude.sh | 8 | ||||
| -rwxr-xr-x | setup/core/packages/install_rust.sh | 7 |
2 files changed, 15 insertions, 0 deletions
diff --git a/setup/core/packages/install_claude.sh b/setup/core/packages/install_claude.sh new file mode 100755 index 0000000..bf47cd2 --- /dev/null +++ b/setup/core/packages/install_claude.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +# Install Node.js via nvm and Claude Code +curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" +nvm install 22 +npm install -g @anthropic-ai/claude-code
\ No newline at end of file diff --git a/setup/core/packages/install_rust.sh b/setup/core/packages/install_rust.sh new file mode 100755 index 0000000..ec484a4 --- /dev/null +++ b/setup/core/packages/install_rust.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +# Install Rust and Cargo tools +curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y +echo '[ -f "$HOME/.cargo/env" ] && source "$HOME/.cargo/env"' >> ~/.bashrc +source "$HOME/.cargo/env" +cargo install cargo-clone-crate cargo-edit cargo-info evcxr_jupyter bacon du-dust
\ No newline at end of file |
