How to create .env file?

It is impossible to create the .env file directly under the window, because the file name is required.

If you want to generate the .env file under the window, you need to use the command line to complete it.

Take the desktop as an example:
1. Create a new txt file on the desktop and name it 1.env;
2. Open the console with win+r and cd desktop;
3. Run rename 1.env .env;

Then you can get a .env file

Guess you like

Origin blog.csdn.net/weixin_43299180/article/details/111182879