Skip to content

Nightly drops

Zhengbo Li edited this page Feb 24, 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.

Using npm

npm install -g typescript@next

Using NuGet with MSBuild:

Note: You'll need to configure your project to use the NuGet packages. Please see Configuring MSBuild projects to use NuGet for more information.

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, as well as MSBuild tasks and targets (Microsoft.TypeScript.targets, Microsoft.TypeScript.Default.props, etc.)

Visual Studio Code

  1. Install the npm package npm install typescript@next, to your local node_modules folder.

  2. Update, .vscode/settings.json with the following:

    "typescript.tsdk": "<path to your folder>/node_modules/typescript/lib"

Sublime Text

Note: This is currently a manual process. See the relevant issue which tracks automating the process.

  1. Install the npm package npm install typescript@next, to a local node_modules folder, then

  2. Update the Settings - User file with the following:

    "typescript_tsdk": "<path to your folder>/node_modules/typescript/lib"

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, but we are working on publishing an installer on a nightly basis as well.

  1. First, install the npm package with npm install typescript@next to a local node_modules folder, then

  2. Download the VSDevMode.ps1 script.

    Also see our wiki page on using a custom language service file.

  3. From a poweshell command window, run:

    • VS 2015:

      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