Skip to content

Nightly drops

Mohamed Hegazy edited this page Jan 28, 2016 · 9 revisions

A nightly build from the master branch is published nightly to NPM and NuGet. Here is how you can get it and use it with your tools.

For building using nodejs use typescript@next:

npm install -g typescript@next

For building using MSBuild, use NuGet:

Note: You need to configure your project to use the NuGet packages to build instead of the tools installed on the machine.

The nightlies are available on https://www.myget.org/gallery/typescript-preview

There are two packages:

  • Microsoft.TypeScript.Compiler: Tools only (tsc.exe, lib.d.ts, etc..)
  • Microsoft.TypeScript.MSBuild: Tools as above + MSBuild tasks and tragets (Microsoft.TypeScript.targets, Microsoft.TypeScript.Default.props, etc..)

VS Code

  • First, install the npm package npm install typescript@next, to your local node_modules folder, then
  • Update, .vscode/settings.json with the following:

"typescript.tsdk": "/node_modules/typescript/lib"

Sublime Text

Note: This is currently a manual process; issue https://github.com/Microsoft/TypeScript-Sublime-Plugin/issues/370 tracks automating the process.

  • First, install the npm package npm install typescript@next, to your local node_modules folder, then
  • Go to your Packages folder
  • Mac/Linux: ~/"Library/Application Support/Sublime Text 3/Packages"
  • Windows: "%APPDATA%\Sublime Text 3\Packages"
  • Copy:
  • <path to your folder>\node_modules\typescript\lib\tsserver.js to <Packages>\TypeScript\tsserver\
  • <path to your folder>\node_modules\typescript\lib\lib.d.ts to <Packages>\TypeScript\tsserver\

More information is available at: https://github.com/Microsoft/TypeScript-Sublime-Plugin#installation

Visual Studio 2013 and 2015

Note: Most changes do not require you to install a new version of the VS TypeScript plugin in. The nightly build currently does not include the full plugin setup, we are working on getting an installer published nightly along with the npm package

VSDevMode.ps1 14 -tsScript <path to your folder>\node_modules\typescript\lib
  • VS 2013:
VSDevMode.ps1 12 -tsScript <path to your folder>\node_modules\typescript\lib
Clone this wiki locally