diff options
| author | hc <hc@email.ch> | 2025-08-15 23:32:39 +0800 |
|---|---|---|
| committer | hc <hc@email.ch> | 2025-08-15 23:32:39 +0800 |
| commit | a07c4d0f145dbad51731dd0513651e09b3d95971 (patch) | |
| tree | 13d904de67ef9e4415d16f45d4b249b8a07cde0d /setup/core/packages | |
| parent | ccdde5f4424836fc8e9cc98c204510fed9612e70 (diff) | |
hehe
Diffstat (limited to 'setup/core/packages')
| -rwxr-xr-x | setup/core/packages/install_claude.sh | 4 | ||||
| -rwxr-xr-x | setup/core/packages/install_rust.sh | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/setup/core/packages/install_claude.sh b/setup/core/packages/install_claude.sh index bf47cd2..99a881d 100755 --- a/setup/core/packages/install_claude.sh +++ b/setup/core/packages/install_claude.sh | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | #!/bin/bash | 1 | #!/bin/bash |
| 2 | 2 | sudo dnf install -y tar | |
| 3 | # Install Node.js via nvm and Claude Code | 3 | # Install Node.js via nvm and Claude Code |
| 4 | curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash | 4 | curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash |
| 5 | export NVM_DIR="$HOME/.nvm" | 5 | export NVM_DIR="$HOME/.nvm" |
| 6 | [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" | 6 | [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" |
| 7 | nvm install 22 | 7 | nvm install 22 |
| 8 | npm install -g @anthropic-ai/claude-code \ No newline at end of file | 8 | npm install -g @anthropic-ai/claude-code |
diff --git a/setup/core/packages/install_rust.sh b/setup/core/packages/install_rust.sh index ec484a4..9d89f8a 100755 --- a/setup/core/packages/install_rust.sh +++ b/setup/core/packages/install_rust.sh | |||
| @@ -4,4 +4,4 @@ | |||
| 4 | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | 4 | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y |
| 5 | echo '[ -f "$HOME/.cargo/env" ] && source "$HOME/.cargo/env"' >> ~/.bashrc | 5 | echo '[ -f "$HOME/.cargo/env" ] && source "$HOME/.cargo/env"' >> ~/.bashrc |
| 6 | source "$HOME/.cargo/env" | 6 | source "$HOME/.cargo/env" |
| 7 | cargo install cargo-clone-crate cargo-edit cargo-info evcxr_jupyter bacon du-dust \ No newline at end of file | 7 | cargo install cargo-clone-crate cargo-edit cargo-info evcxr_jupyter bacon du-dust ripgrep |
