Skip to content

Commit 25b4562

Browse files
author
Arjun Balaji
committed
npm, rust, cargo, clone github directly
1 parent c8eef49 commit 25b4562

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed
Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,21 @@
11
#!/bin/bash
22
set -e
33

4+
# Install Node.js and npm
5+
curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
6+
apt-get install -y nodejs
7+
8+
# Install Rust and Cargo
9+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
10+
source ~/.cargo/env
11+
12+
# get the github code
413
echo "Installing Amazon Q for command line (Linux)..."
14+
mkdir -p /app/amazon-q-developer-cli
15+
cd /app
516
export AMAZON_Q_SIGV4=1
6-
7-
# Install the Q branch code into machine + dependencies
8-
cd /home/runner/work/amazon-q-developer-cli/amazon-q-developer-cli/
17+
git clone https://github.com/aws/amazon-q-developer-cli.git
18+
cd amazon-q-developer-cli
919
npm run setup
20+
21+
echo "Amazon Q CLI installation completed successfully"

0 commit comments

Comments
 (0)