exec-ecs
is a command-line tool to simplify working with AWS ECS by streamlining the execution of commands on ECS tasks. This tool is designed for developers and operations teams to interact with ECS clusters and tasks efficiently.
- Cluster Selection: Easily select an ECS cluster to work with.
- Service and Task Navigation: Navigate through ECS services and tasks interactively.
The exec-ecs
tool can be installed easily on macOS, Linux, and Windows. Follow the appropriate instructions below based on your operating system.
To install exec-ecs
on macOS or Linux, use the following command:
curl -fsSL https://raw.githubusercontent.com/DigitalTolk/exec-ecs/main/install.sh | bash
If you'd like to install a specific version, use the --version
flag with the install script:
curl -fsSL https://raw.githubusercontent.com/DigitalTolk/exec-ecs/main/install.sh | bash -s -- --version 1.1.3
Replace 1.1.3
with the desired version number. If no version is specified, the latest version will be installed by default.
Windows users should use the provided batch script.
-
Download the installation script:
- Visit https://raw.githubusercontent.com/DigitalTolk/exec-ecs/main/install.bat.
- Save the file as
install.bat
.
-
Run the script:
- Right-click the
install.bat
file and select Run as Administrator. - To install the latest version, simply run the script without any arguments:
install.bat
- Right-click the
-
To install a specific version:
- Run the script with the desired version number:
install.bat 1.1.3
- Replace
1.1.3
with the version you wish to install.
- Run the script with the desired version number:
-
The script will:
- Download the
exec-ecs
executable for Windows. - Extract the binary.
- Place it in
C:\Program Files\exec-ecs
. - Add it to your system's PATH.
- Download the
After installation, verify that exec-ecs
is installed correctly by checking its version:
exec-ecs --version
On Windows, you may need to restart your terminal or Command Prompt for the changes to take effect.
To uninstall exec-ecs
, simply remove the binary:
- Linux/macOS: Delete the binary from
/usr/local/bin
:sudo rm /usr/local/bin/exec-ecs
- Windows: Delete the
exec-ecs.exe
file fromC:\Program Files\exec-ecs
.
-
Go to the Releases page.
-
Download the appropriate binary for your platform:
- Linux:
exec-ecs_Linux_x86_64.tar.gz
(Linux 64-bit)exec-ecs_Linux_arm64.tar.gz
(Linux ARM64)exec-ecs_Linux_armv6.tar.gz
(Linux ARMv6)exec-ecs_Linux_i386.tar.gz
(Linux 32-bit)
- macOS:
exec-ecs_Darwin_x86_64.tar.gz
(macOS Intel)exec-ecs_Darwin_arm64.tar.gz
(macOS ARM)
- Windows:
exec-ecs_Windows_x86_64.zip
(Windows 64-bit)exec-ecs_Windows_arm64.zip
(Windows ARM64)exec-ecs_Windows_armv6.zip
(Windows ARMv6)exec-ecs_Windows_i386.zip
(Windows 32-bit)
- Linux:
-
Extract the file:
-
For
.tar.gz
files:tar -xzf <filename>
-
For
.zip
files (Windows): Use an unzip utility.
-
-
Place the
exec-ecs
binary in a directory in yourPATH
:-
On Linux/macOS:
sudo mv exec-ecs /usr/local/bin/
-
On Windows: Move the
exec-ecs.exe
file to a directory included in yourPATH
(e.g.,C:\Windows\System32
).
-
-
Verify installation:
exec-ecs --help