当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
结果填空 李白打酒(心态炸了)
记录某某小卢的第一篇文章
结果填空 购物单(教你用Excel解决)
Example of MySQL processing legacy data
Review of metallurgical physical chemistry -- cathodic polarization, overpotential, anode and anode process in metal electrodeposition
图片根据屏幕自适应
书籍-心智模型
Distance toolbar in ArcMap (distance)
微信公众号-授权登录
(php毕业设计)基于php用户在线投稿管理系统获取
curd组件中的时间设置
new,let,var,const以及暂时性死区,xml和json的区别
Microsoft Edge浏览器插件(1)
Zotero——一款文献管理工具
C语言回顾(字节对齐篇)
对象内多个数组的对应下标相加
Competition arrangement in GIS field (incomplete statistics)
NPM, YRAN, NPX的差异与关系
ArcMap中的距离工具条(Distance)
截图传入后台


![[uni app] the use of scroll into view in uni app](/img/34/475ef70416df7a92a52ba0efbc8947.png)






