当前位置:网站首页>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
边栏推荐
- MySQL数据表的基本操作和基于 MySQL数据表的基本操作的综合实例项目
- flex layout (flexible layout)
- Leetcode parentheses matching problem -- 32. The longest parentheses effectively
- Differences between i++ and ++i in loops in C language
- 双重for循环案例(用js打印九九乘法表)
- DNS的解析流程
- Nacos客户端启动出现9848端口错误分析(非版本升级问题)
- 字节面试题:如何保证缓存和数据库的一致性
- Nacos安装详细过程
- 蚂蚁三面:MQ 消息丢失、重复、积压问题,有哪些解决方案?
猜你喜欢

Cyber Security Learning - Intranet Penetration 4

为什么4个字节的float要比8个字节的long大呢?

程序员写PPT的小技巧

Different ways of shell scripting

BGP实验(路由反射器,联邦,路由优化)

pytorch basic operations: classification tasks using neural networks

上海交大牵手淘宝成立媒体计算实验室:推动视频超分等关键技术发展

What is the most important ability of a programmer?

leetcode一步解决链表反转问题

zabbix自动发现和自动注册
随机推荐
Redis-cluster mode (master-slave replication mode, sentinel mode, clustering mode)
Node的安装与环境变量的配置
Meta公司内部项目-RaptorX:将Presto性能提升10倍
25K test old bird's 6-year experience in interviews, four types of companies, four types of questions...
人工神经网络
Important concepts of target detection - IOU, receptive field, hole convolution, mAP
Linux CentOS8安装Redis6
An advanced method for solving palindromes
国际顶会OSDI首度收录淘宝系统论文,端云协同智能获大会主旨演讲推荐
leetcode每天5题-Day04
C language entry combat (13): decimal number to binary
go里面的基本知识
What is the most important ability of a programmer?
Detailed explanation of interface in Go language
51单片机外设篇:DS18B20
leetcode括号匹配问题——32.最长有效括号
目标检测重要概念——IOU、感受野、空洞卷积、mAP
使用jOOQ 3.14合成外键在视图上写隐式连接
A list of 300+ learning resources compiled by senior engineers of the Tao Department (the latest version in 2021)
Constructors, member variables, local variables