Problem in installing typescript

I cannot find typescript in Package Control: Install Package. It shows something like this:


What to do now?

Hi @santanusingh018 ,
On Mac open the terminal and run:

cd ~/"Library/Application Support/Sublime Text 3/Packages" 
git clone --depth 1 https://github.com/Microsoft/TypeScript-Sublime-Plugin.git TypeScript

And on Windows:

cd "%APPDATA%\Sublime Text 3\Packages" 
git clone --depth 1 https://github.com/Microsoft/TypeScript-Sublime-Plugin.git TypeScript

Now restart sublime. Now you can use Package Control: Install Package to install the typescript package.

Do let me know if you need any other help.

@raghav.srivastava still can’t get the option for typescript.
In the command prompt it writes:
‘git’ is not recognized as an internal or external command,
operable program or batch file.

Hi @santanusingh018 ,
Please install git and then do the steps mentioned above. Install it from here.

@raghav.srivastava thank you now I got typescript.

1 Like