Tip
choose a tool that can run *.ts files, such as tsx
pnpm i tsx -gTip
git clone this repo into your local machine
cd ~/git # for me, I would place any git projects in this directory
git clone git@github.com:aqzhyi/oh-my-typescript-zsh.git # clone this repo
la ~/git/oh-my-typescript-zsh # make sure the project is cloned successfullyTip
edit the ~/.zshrc file
vi /Users/{username}/.zshrcTip
add the following content at the bottom of the file
tsx /Users/{username}/git/oh-my-typescript-zsh/src/templates/showGlobalPackagesVersion.tsTip
reload zsh shell
source ~/.zshrc