title |
---|
scripttool installation |
scripttool is a command line program run from a shell like Bash. You can find compiled version in the releases
This project can be installed via curl and sh for POSIX compatible systems. Enter the following in your shell.
curl https://rsdoiel.github.io/scripttool/installer.sh | sh
On Windows use the following Powershell command.
irm https://rsdoiel.github.io/scripttool/installer.ps1 | iex
This is generalized instructions for a release.
Compiled versions are available for Mac OS (Intel and M1/M2 processor, macOS-x86_64, macOS-arm64), Linux (Intel process, Linux-x86_64), Windows (Intel processor, Windows-x86_64), Raspberry Pi OS (arm7 32bit processor, RaspberryPiOS-arm7) and Pine64 (arm64 processor, Linux-aarch64)
VERSION_NUMBER is a semantic version number (e.g. v0.1.2)
For all the released version go to the project page on GitHub and click latest release
Platform | Zip Filename |
---|---|
Windows | scripttool-VERSION_NUMBER-Windows-x86_64.zip |
Mac OS (Intel) | scripttool-VERSION_NUMBER-macOS-x86_64.zip |
Mac OS (M1,M2) | scripttool-VERSION_NUMBER-macOS-arm64.zip |
Linux/Intel | scripttool-VERSION_NUMBER-Linux-x86_64.zip |
Raspberry Pi | scripttool-VERSION_NUMBER-RaspberryPiOS-arm7.zip |
Pine64 | scripttool-VERSION_NUMBER-Linux-aarch64.zip |
- Find the Zip file listed matching the architecture you're running and download it
- (e.g. if you're on a Windows 10 laptop/Surface with a amd64 style CPU you'd choose the Zip file with "windows-amd64" in the name).
- Download the zip file and unzip the file.
- Copy the contents of the folder named "bin" to a folder that is in your path
- (e.g. "$HOME/bin" is common).
- Adjust your PATH if needed
- (e.g. export PATH="$HOME/bin:$PATH")
- Test
- Download the zip file
- Unzip the zip file
- Copy the executable to $HOME/bin (or a folder in your path)
- Make sure the new location in in our path
- Test
Here's an example of the commands run in the Terminal App after downloading the zip file.
cd Downloads/
unzip scripttool-*-macOS-x86_64.zip
mkdir -p $HOME/bin
cp -v bin/* $HOME/bin/
export PATH=$HOME/bin:$PATH
scripttool -version
- Download the zip file
- Unzip the zip file
- Copy the executable to $HOME/bin (or a folder in your path)
- Test
Here's an example of the commands run in from the Bash shell on Windows 10 after downloading the zip file.
cd Downloads/
unzip scripttool-*-Windows-x86_64.zip
mkdir -p $HOME/bin
cp -v bin/* $HOME/bin/
export PATH=$HOME/bin:$PATH
scripttool -version
- Download the zip file
- Unzip the zip file
- Copy the executable to $HOME/bin (or a folder in your path)
- Test
Here's an example of the commands run in from the Bash shell after downloading the zip file.
cd Downloads/
unzip scripttool-*-Linux-x86_64.zip
mkdir -p $HOME/bin
cp -v bin/* $HOME/bin/
export PATH=$HOME/bin:$PATH
scripttool -version
Released version is for a Raspberry Pi 3 or later use (i.e. requires ARM 7 support).
- Download the zip file
- Unzip the zip file
- Copy the executable to $HOME/bin (or a folder in your path)
- Test
Here's an example of the commands run in from the Bash shell after downloading the zip file.
cd Downloads/
unzip scripttool-*-RaspberryPiOS-arm7.zip
mkdir -p $HOME/bin
cp -v bin/* $HOME/bin/
export PATH=$HOME/bin:$PATH
scripttool -version
scripttool is "go gettable". Use the "go get" command to download the dependent packages as well as scripttool's source code.
go get -u github.com/rsdoiel/scripttool/...
Or clone the repository and then compile
cd
git clone https://github.com/rsdoiel/scripttool src/github.com/rsdoiel/scripttool
cd src/github.com/rsdoiel/scripttool
make
make test
make install