当前位置:网站首页>CMD command and NPM command
CMD command and NPM command
2022-07-27 08:23:00 【huijie_ 0716】
cmd command
Get into cmd
win key +R Key is to open the running window , Input cmd Access control
The catalog represents compliance
/ Represents the root directory
./ Current directory
../ Upper level directory
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
Tips
The first letter +Tab Can make up for Corresponding documents / Folder name
View directory
dir View the contents of the current directory
Create directory
md Directory name
md mycatalogue Create a mycatalogue The catalog of
Delete directory
rd Delete empty directory
rd Directory name /s /q
Delete the directory with content
help
help command View command usage
help rd see rd Tutorial on the use of commands
type
type text file
type 1.txt
see 1.txt The content of
del
del file
del 1.txt
Delete 1.txt file
cls Clear the screen
ipconfig View this machine ip
View Unicom
ping Host name
ping www.baidu.com Check whether Baidu Unicom
calc Turn on the calculator
npm command
initial
npm init Initialize project , establish package.json The file of ( All the way back )
npm init -y Quick initialization project ( The options are yes)
Catalog explanation
package.json Project package management documents
package-lock.json Download cache address
node_modules Where to download the installation package
install (install)
General installation
install jquery npm i jquery
Global installation
Global installation vue npm i @vue/cli -g
The location of the global installation of plug-ins npm root view -g
Development dependent installation
Development dependent installation axios
npm i axios -D
Product dependent installation
The product environment depends on installation jquery
npm i jquery -S
uninstall (uninstall)
uninstall jquery
npm uninstall jquery
Version number
"jquery": "3.6.0" Limit the version range Project use jquery Methods that can be upgraded can not only be greater than be equal to 4.0.0
"jquery": "2.1" The fixed version is 2.1
Install fixed version
Install the fixing 2.1 edition jquery
npm i [email protected] -S
to update
to update jquery
npm update jquery
边栏推荐
- 借生态力量,openGauss突破性能瓶颈
- Ubuntu: install PostgreSQL
- Local Oracle reported ora-12514: tns: the listener cannot recognize the requested service at present
- Flutter 渲染机制——GPU线程渲染
- Use of string type "PHP Basics"
- It's better to be full than delicious; It's better to be drunk than drunk
- Debug: generic related "unresolved external symbols"
- Opengauss stopped from the library and found that the main library could not write data
- Kalibr calibration realsensed435i -- multi camera calibration
- [golang] golang develops wechat official account web page authorization function
猜你喜欢

开怀一笑

The third letter to the little sister of the test | Oracle stored procedure knowledge sharing and test instructions

Breadth first search
![[target detection] yolov6 theoretical interpretation + practical test visdrone data set](/img/ad/78835eea4decc15e0981e6561b875f.png)
[target detection] yolov6 theoretical interpretation + practical test visdrone data set

数据提取2

pytorch_ demo1
![[MRCTF2020]PYWebsite 1](/img/d4/2d9cd06abd7188add668cde77d3075.png)
[MRCTF2020]PYWebsite 1

I drew a Gu ailing with characters!

Download and usage of sequel Pro
![[pytorch] resnet18, resnet20, resnet34, resnet50 network structure and Implementation](/img/44/52c7dc6871fd43223eadfd394e159e.png)
[pytorch] resnet18, resnet20, resnet34, resnet50 network structure and Implementation
随机推荐
Debug: generic related "unresolved external symbols"
Netdata 性能监测工具介绍、安装、使用
Containerd failed to pull private database image (kubelet)
On Valentine's day, I drew an object with characters!
"PHP Basics" use of integer data
Iterators and generators
Interviewer: what is scaffolding? Why do you need scaffolding? What are the commonly used scaffolds?
After installing mysql, docker entered the container and found that he could not log in to MySQL
The response of the database interface is very slow
Lua stateful iterator
It's better to be full than delicious; It's better to be drunk than drunk
Translation character '/b' in C #
【uni-app高级实战】手把手带你学习一个纯实战复杂项目的开发1/100
1024 | in the fourth year officially called Menon, the original intention is still there, and continue to move forward
pytorch_ demo1
QT creator code style plug-in beautifier
I drew a Gu ailing with characters!
QPushButton 按钮的创建与简单应用
Stored procedure trial 2 -- establish a test table to test different types of stored procedures
JS basic knowledge - daily learning summary ①