我可以在一台机器上安装多个版本的 Typescript 吗? [英] Can I install more than one version of Typescript on a machine?

查看:29
本文介绍了我可以在一台机器上安装多个版本的 Typescript 吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想开始使用最新版本的 Typescript,但我有使用 0.82 的生产代码,并且在我检查新版本之前我不想切换它(我们使用了很多模块).

I'd like to start playing with the latest versions of Typescript but I have production code using 0.82, and I don't want to switch it until I have checked out the new version (we use lots of modules).

一台机器上的多个版本可以很好地播放吗?

Can multiple versions on a machine play nicely?

推荐答案

这在 Visual Studio 中不受支持.您能做的最好的事情就是根据需要安装/卸载.

This isn't supported in Visual Studio. Best you could do is just install/uninstall on an as-needed basis.

如果你只是想尝试在命令行上编译东西,你可以使用 NPM 包并以这种方式下载特定版本.

If you just wanted to try compiling things on the command line, you could use the NPM package and download specific versions that way.

这篇关于我可以在一台机器上安装多个版本的 Typescript 吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆