当前位置:网站首页>How to install the specified version package with NPM and view the version number
How to install the specified version package with NPM and view the version number
2022-08-02 06:44:00 【m0_67393413】
In the process of Vue development, sometimes we need to install the specified version of the package.
For example: install bootstrap version 4.6.1
npm install [email protected]

If the version number is not followed (@4.6.1), then the latest version is installed by default.Different package version numbers may be specified differently!
For example, install without version number by default:
npm install bootstrap

Latest version installed: 5.1.3(2022-04-28)
Sometimes it may be necessary to install an earlier version due to compatibility or testing issues. Record the above method.
View the version numbers of installed packages: list
npm list bootstrap

View Vue version number:
npm list vue

If you install a package back and forth multiple times, it is recommended to uninstall the original package before installation, and then reinstall the new package. Uninstall the command:
npm uninstall bootstrap
Let me introduce myself first. The editor graduated from Shanghai Jiaotong University in 2013. I worked in a small company and went to big factories such as Huawei and OPPO. I joined Alibaba in 2018, until now.I know that most junior and intermediate java engineers want to upgrade their skills, they often need to explore their own growth or sign up to study, but for training institutions, the tuition fee is nearly 10,000 yuan, which is really stressful.Self-learning that is not systematic is very inefficient and lengthy, and it is easy to hit the ceiling and the technology stops.Therefore, I collected a "full set of learning materials for java development" for everyone. The original intention is also very simple. I hope to help friends who want to learn by themselves but don't know where to start, and at the same time reduce everyone's burden.Add the business card below to get a full set of learning materials
边栏推荐
- H5 access payment process - WeChat payment & Alipay payment
- Nacos注册中心的部署与用法详细介绍
- 机器学习——支持向量机原理
- BGP experiment (route reflector, federation, route optimization)
- How to perform concurrent calculation (stability test and stress test)?
- Polar Parametrization for Vision-based Surround-View 3D Detection 论文笔记
- 路由规划中级篇
- go里面的基本知识
- The virtual reality real estate display system foresees the future decoration effect in advance
- 使用TinkerPop框架对GDB增删改查
猜你喜欢
随机推荐
What is the most important ability of a programmer?
反向解析dns服务器
Say good woman programmers do testing have an advantage?More than a dozen interview, abuse of cry ~ ~ by the interviewer
HCIP BGP综合实验 建立对等体、路由反射器、联邦、路由宣告及聚合
制作web3d动态产品展示的优点
51单片机外设篇:红外通信
程序员最重要的能力是什么?
pytorch常用函数
APT + Transform 实现多模块应用Application生命周期分发
Smart people's game improvement: Chapter 3, Lesson 2: "Number of Tongtong" (number)
引领需求 为HR价值正名——“人力资源领先模型HRLM”成功首发
软件测试在职2年跳槽4次,你还在怪老板不给你涨薪?
Different ways of shell scripting
Linux CentOS8安装Redis6
Redis-cluster mode (master-slave replication mode, sentinel mode, clustering mode)
跨桌面端Web容器演进
Common functions of pytorch
NPM ---- 安装yarn
NPM 安装指定版本包的方法及版本号查看
聪明人的游戏提高篇:第三章第二课:“桐桐数”(number)








