当前位置:网站首页>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
边栏推荐
猜你喜欢

C语言基础知识梳理总结:零基础入门请看这一篇

关于web应用的目录结构

【漫画】2021满分程序员行为对照表(最新版)

Detailed explanation of interface in Go language

Differences between i++ and ++i in loops in C language

线程基础(一)

虚拟现实房产展示系统提前预见未来装修效果

H5 access payment process - WeChat payment & Alipay payment

人工神经网络

51 microcontroller peripherals article: dot-matrix LCD
随机推荐
About the directory structure of the web application
rhce作业
程序员最重要的能力是什么?
卸载redis
Linux CentOS8安装Redis6
6W+字记录实验全过程 | 探索Alluxio经济化数据存储策略
pytorch常用函数
51 MCU peripherals: DS18B20
HCIP第十七天
机器学习——支持向量机原理
leetcode一步解决链表反转问题
OAuth 授权协议 | 都云原生时代了,我们应该多懂一点OAuth ?
反向解析dns服务器
MarkDown公式指导手册
Nacos安装详细过程
Mysql数据库 | 基于Docker搭建Mysql-8.0以上版本主从实例实战
The virtual reality real estate display system foresees the future decoration effect in advance
股价屡创新低 地产SaaS巨头陷入困境 明源云该如何转型自救?
zabbix自动发现和自动注册
提高软件测试能力的方法有哪些?看完这篇文章让你提升一个档次