当前位置:网站首页>CMD and NPM basic commands
CMD and NPM basic commands
2022-07-28 05:51:00 【Still love me】
One ,cmd command
CMD A command is a command prompt ,CMD yes command Abbreviation .
1. Press... On the keyboard at the same time window+r Open the following operation window

2. Input cmd Press enter to enter the console

3. Switch disks
Enter the name of the disk , Add a colon to the back , Such as D: From c Disk switch to d Dish up 
4.cd command
cd Directory name Switch to the corresponding directory
cd ../ Switch to the previous Directory
cd / Switch to the root directory
cd Users Switch to Users Catalog
cd Users\Administrator Switch to Users\Administrator Catalog

5. View directory
dir It is used to view the contents of the current directory

6. Create directory
md+ Directory name , Create a new directory
7. Delete directory
rd+ Directory name , Delete empty directory
rd+ Directory name /s/q, Delete content with content
8.help
Input help Command to view all instructions
help + command , You can check the usage of this command

9.type, View the contents of the text file
10.del, Delete file
11.cls, Clear the screen
12.ipconfig, View this machine ip
13.ping Host name , View Unicom
14.calc, Turn on the calculator
Two 、npm command
1. initialization
npm init Initialize project , establish package.json The file of ( All options yes that will do )
2. Catalog explanation
package.json Project package management documents
package-lock.json Download cache address
node_modules Where to download the installation package
3. install
(1) General installation npm install jquery(install I could just write it as i)
(2) Global installation , Any project on the computer can refer to the installed plug-ins
Global installation vue npm i @vue/cli -g
(3) Development dependent installation , The installed plug-ins are used in the project development stage , After the project goes online, you don't need
install axios npm i axios -d
(4) The product environment depends on installation , The installed plug-ins need to be reopened and online
install jquery npm i jquery -s
4. uninstall
npm uninstall jquery
5. to update
npm update jquery
边栏推荐
- Microsoft edge browser plug-in (1)
- Review of metallurgical physical chemistry -- rate equations of complex reactions
- 基于Highcharts平台的桑基图(Sankey diagram)绘制
- Making E-R diagram based on XMIND
- Review of metallurgical physical chemistry -- Fundamentals of chemical reaction kinetics
- 标准C语言总结2
- 全局事件总线
- js数据类型检测与修改检测
- 在线词云图生成(以WordArt为例)
- Competition arrangement in GIS field (incomplete statistics)
猜你喜欢
随机推荐
uniapp uview组件库的使用方法(下载方式)
C语言回顾(可变参数篇)
Competition arrangement in GIS field (incomplete statistics)
(php毕业设计)基于php用户在线投稿管理系统获取
Annotation and grid addition of ArcGIS map making
书籍-穷查理宝典
Canvas绘图2
Canvas绘图1
ES6----解构赋值
Cad-gis data conversion
浅谈一段奇妙旅程
DOM操作的案例
HDU-1284:钱币兑换问题 推理+动态规划(dp)
标准C语言学习总结5
SVG了解与绘图应用
结果填空 马虎的算式(暴力解决)
js-宏任务和微任务
ArrayList multithreading security solution
DOM窗口相关数据、操作 & BOM操作
curd组件中的时间设置








