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

ArcGIS Engine Development Resources

Review of metallurgical physical chemistry -- rate equations of complex reactions

(php毕业设计)基于php甘肃旅游网站管理系统获取

ArcMap地图投影相关操作

curd组件中的时间设置

DOM——页面的渲染、style属性操作、预加载与懒加载、防抖与节流

结果填空 购物单(教你用Excel解决)

Annotation and grid addition of ArcGIS map making

(php毕业设计)基于php用户在线投稿管理系统获取

基于php心理健康服务系统获取(php毕业设计)
随机推荐
ES6--->箭头函数、类、模块化
Sankey diagram drawing based on highcharts platform
(php毕业设计)基于php水果销售商店管理系统获取
Review of metallurgical physical chemistry -- Fundamentals of chemical reaction kinetics
ArcGIS之Model Builder
链表中关于快慢指针的oj题
GIS领域竞赛整理(不完全统计)
Add the corresponding subscripts of multiple arrays in the object
全局事件总线
Competition arrangement in GIS field (incomplete statistics)
Annotation and grid addition of ArcGIS map making
(PHP graduation project) obtained based on PHP student homework submission management system
五子棋优化版
media-搭建直播服务器
curd组件中的时间设置
Zotero——一款文献管理工具
Distance toolbar in ArcMap (distance)
Sorting out problems related to ArcMap join table
标准C语言学习总结7
书籍-心智模型