Skip to content

Use on Windows

Yasuhiro Yamada edited this page Mar 12, 2023 · 3 revisions

Installation

teip command will be available on PowerShell.

Download the the installer distributed from below URL.

https://github.com/greymd/teip/releases

Please download asset named like teip_installer-<version>-x86_64-pc-windows-msvc.exe and run installer. You will see the screen like this.

Attention: You may get some warning messages during the installation because this installer is not signed. Please verify manually by comparing the above hash value and one given by Get-FileHash <FileName> -Algorithm SHA256 for secure installation.

SHA256 hash value is stored in the file named like below.

teip_installer-<version>-x86_64-pc-windows-msvc.exe.sha256

Getting Started

It is best to use it in conjunction with Git for Windows, for example.

PS C:\> echo "100 200 300 400" | teip -f 3 -- 'C:\Program Files\Git\usr\bin\sed.exe' 's/./@/g'
100 200 @@@ 400

If C:\Program Files\Git\usr\bin is included in the Path, the below command will work as well.

PS C:\> echo "100 200 300 400" | teip -f 3 -- sed 's/./@/g'
100 200 @@@ 400