Nightly Builds
A nightly build from theTypeScript’smain branch is published by midnight PST to npm.Here is how you can get it and use it with your tools.
Using npm
shellnpm install -D typescript@next
Updating your IDE to use the nightly builds
You can also update your editor/IDE to use the nightly drop.You will typically need to install the package through npm.The rest of this section mostly assumestypescript@next is already installed.
Visual Studio Code
The VS Code websitehas documentation on selecting a workspace version of TypeScript.After installing a nightly version of TypeScript in your workspace, you can follow directions there, or simply update your workspace settings in the JSON view.A direct way to do this is to open or create your workspace’s.vscode/settings.json and add the following property:
json"typescript.tsdk":"<path to your folder>/node_modules/typescript/lib"
Alternatively, if you simply want to run the nightly editing experience for JavaScript and TypeScript in Visual Studio Code without changing your workspace version, you can run theJavaScript and TypeScript Nightly Extension
Sublime Text
Update theSettings - User file with the following:
json"typescript_tsdk":"<path to your folder>/node_modules/typescript/lib"
More information is available at theTypeScript Plugin for Sublime Text installation documentation.
Visual Studio 2013 and 2015
Note: Most changes do not require you to install a new version of the VS TypeScript plugin.
The nightly build currently does not include the full plugin setup, but we are working on publishing an installer on a nightly basis as well.
Download theVSDevMode.ps1 script.
Also see our wiki page onusing a custom language service file.
From a PowerShell command window, run:
For VS 2015:
VSDevMode.ps1 14 -tsScript <path to your folder>/node_modules/typescript/lib
For VS 2013:
VSDevMode.ps1 12 -tsScript <path to your folder>/node_modules/typescript/lib
IntelliJ IDEA (Mac)
Go toPreferences >Languages & Frameworks >TypeScript:
TypeScript Version: If you installed with npm:
/usr/local/lib/node_modules/typescript/lib
IntelliJ IDEA (Windows)
Go toFile >Settings >Languages & Frameworks >TypeScript:
TypeScript Version: If you installed with npm:
C:\Users\USERNAME\AppData\Roaming\npm\node_modules\typescript\lib
The TypeScript docs are an open source project. Help us improve these pagesby sending a Pull Request ❤
Last updated: Dec 16, 2025