# how to use espresso **Published by:** [jqdao](https://paragraph.com/@toyes/) **Published on:** 2022-07-05 **URL:** https://paragraph.com/@toyes/how-to-use-espresso ## Content d)将 WSL 2 设置为默认版本 wsl --set-default-version 2 e)打开 Microsoft Store,选择并安装偏好的 Linux 分发版 Ubuntu 20.04 LTS Get $Ubuntu 20.04 from the Microsoft Store Get $Ubuntu 20.04 from the Microsoft Store Ubuntu 20.04 LTS on Windows allows you to use Ubuntu Terminal and run Ubuntu command line utilities including bash, ssh, git, apt and many more. Please note that Windows 10 S does not support running this app. To launch, use “ubuntu2004” on the command-line prompt (cmd.exe), or click on the Ubuntu… www.microsoft.com f)输入自己想要的用户名和密码 重启下电脑 3 . 下载 docker-compose.yaml 文件 “开始”菜单 >“PowerShell” >单击右键 >“以管理员身份运行 > curl https://www.espressosys.com/cape/docker-compose.yaml --output docker-compose.yaml 如果出现以下错误 打开下面网址 docker-compose.yaml www.espressosys.com 把所有内容拷贝到一个txt文件里面。 把文件名改成 docker-compose.yaml (yaml是扩展名哦,别改成 docker-compose.yaml.txt) 然后拷贝到 C:\WINDOWS\system32 文件夹。 4 . 打开docker desktop powershell输入以下命令 docker-compose pull docker-compose up 运行成功 运行成功 5 . 打开浏览器 输入 localhost 回车 5 . 功能体验我就不多介绍了,大家好好摸索 ## Publication Information - [jqdao](https://paragraph.com/@toyes/): Publication homepage - [All Posts](https://paragraph.com/@toyes/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@toyes): Subscribe to updates