Getting Started
Clash Quick Start Guide
From importing a subscription to verifying your connection, start by getting one app working with one config.
mode: rule
Find the right menu for your platform: On Windows, macOS, and Linux, «Config» and «Proxies» are usually in the sidebar. On Android and iOS, look in the bottom navigation bar or on the home screen. The config page may also be called «Profiles» or «Subscriptions». If you haven’t installed a client yet, go to the downloads page and select your platform. This guide uses a graphical client that supports Clash configs; menu names vary by app.
Before you begin, have either a subscription URL compatible with your client or a working local YAML config. You only need one. If you’ve just installed the client and don’t have a config source yet, you can still familiarize yourself with the menus below; installing a client alone won’t provide usable nodes.
Step 01
Import a Subscription
Open the client and look for the «Config» or «Subscription» page. If you have a subscription URL, tap «New», «Add», or the plus button, then choose «Remote», «URL», or «Import from URL» as the source. Paste the full address provided by your service, give the entry a recognizable name, then tap «Save» or «Import». Subscription URLs often contain access credentials. Don’t paste them into online conversion tools or expose them in screenshots.
To import a local file, look for «Import from file» or «Local config» on the same page, then select the .yaml or .yml file you received. If it doesn’t appear in the system file picker, make sure it’s downloaded to your device rather than only previewed in a messaging app. A subscription URL is different from a node share link; if the import dialog requires a complete config, a single node link may not work. Check with your config provider for a format compatible with your client.
After importing, check the config list. A new entry may be saved without being applied. Tap the entry or choose «Use», «Enable», or «Set as current config» from its menu, then wait for its name to appear as selected on the home screen or in the list. Open «Proxies» or «Policy Groups» and check that the expected group names and outbound options are there. If you still see group names from the previous config, go back to the list and check which entry is active instead of importing the same subscription again.
If saving fails with a download error, first make sure your device is online. Then check that you copied the entire URL, including its ending, and didn’t copy the subscription info page instead. If parsing fails, see whether the error says «Unsupported format» or points to a specific YAML line. For an unsupported format, confirm what your provider supplies. For a line number, keep the original file and check the indentation around the reported line. Don’t rush to edit node settings on your first connection attempt. Get the config to load first; changing modes won’t fix an import error.
Some clients show «Update successful» or a recent update time in the config list. This only means the remote content was fetched; it doesn’t mean a node is reachable. Before moving on, check two things: the active config has the right name, and the Proxies page shows the policy group and outbound you want to test. You don’t need to enable scheduled updates or combine a second config yet. Get one config working first so you know where to look if something goes wrong.
Step 02
Choose a Proxy Mode
Return to the home screen or open Settings and look for “Mode,” “Proxy Mode,” or “Operation Mode.” If you see Rule, Global, and Direct, Rule (shown as Rule in English) is usually the best place to start. It applies the rules in your current config to decide how each request is handled: requests may go through a proxy group, connect directly, or be rejected. A site connecting directly in Rule mode isn’t necessarily a problem; check which rule it matched.
After choosing a mode, open «Proxies». Policy groups often appear as cards or collapsed rows; tap one to see its options. Find the group used to select nodes in your config documentation, then choose a node in a group that allows manual selection and make sure it’s marked as selected. Groups such as «Auto Select» or «Failover» may choose an outbound route automatically, so you might not be able to pick a member directly. If groups are nested, note both the outer group and the selected inner option for comparison later.
Use the page’s «Latency test» to pick an initial test node, but remember it only reports the result for that test target at that moment. It doesn’t prove that your browser can open a particular site or that the browser is using the client. If you have several candidate nodes, pick one and keep the config and mode unchanged. If you need to try another node later, test against the same destination so you don’t mistake differences between sites for differences between nodes.
«Global» usually sends traffic handed to the client through the global outbound. After switching to it, you may also need to select a node in the GLOBAL group. «Direct» can help you compare whether the same destination is reachable without a proxy outbound. Neither mode replaces the system proxy or connection switch in the next step. For an initial check, stay in Rule mode. Only switch modes briefly if you can see that a request reached the client but suspect it matched the wrong rule, then switch back when you’re done.
Before leaving the Proxies page, check the mode and config name on the home screen again. If you changed configs, the group or node you selected may no longer apply. For details on rule matching order and when policy groups select a different outbound, see the FAQ and Advanced Config for Policy Groups. You don’t need to edit the config file at this step.
Step 03
Connect
Now make sure your test app sends requests through the client. On desktop, first check that the home screen shows the core or service is running, then find the «System Proxy» switch, usually on the home screen, in Settings, or in the tray menu. Turn it on and test with a browser that follows system proxy settings. Some browsers have separate proxy settings; if yours is set to «No proxy» or uses another proxy, change it to follow system settings or try a browser without custom proxy settings.
If the client says the system proxy is on but your browser can’t open any pages, check for a startup error or a port conflict in the client. The system proxy may point to your device even if the core isn’t listening properly. Don’t change ports based on someone else’s screenshot. If you need to check, compare the proxy port shown in the client with the one set in your system proxy. Support for system proxy settings varies across Linux desktop environments and apps. If there’s no system proxy switch, follow the client’s instructions to configure one test app with the local proxy address and protocol port shown by the client.
On mobile, return to the home screen and tap «Connect», «Start», or the power icon. The first time you connect, the system may ask to let the app create a VPN configuration or add a VPN connection. Make sure the prompt is for the app you just opened, then approve it as directed. Return to the client and wait for the status to change from «Disconnected» to «Connected». Also check the system’s VPN indicator. That indicator only confirms a connection interface was created; it doesn’t prove a particular site is reachable through the selected node.
If the connection switch turns itself off shortly after you tap it, read the error shown in the app and make sure the config loaded successfully. Another VPN or proxy app may be using the same system connection slot. On a personal device, if it’s safe to interrupt the other connection, disable it and try again. If your device is managed by a school or workplace and VPN or proxy settings are restricted, follow the administrator’s instructions rather than changing those policies to test the connection.
For your first check, use just one connection method so you can tell how requests reach the client. On desktop, if the system proxy is enough, don’t enable TUN as well. If an app doesn’t use the system proxy, check TUN mode and permission requirements. Once the client shows Connected or the system proxy is enabled, move on to the next step. Leave DNS, sniffing, and overrides unchanged so you don’t make several changes at once and complicate troubleshooting.
Step 04
Verify It’s Working
First check whether requests are reaching the client. Open the «Connections» page and leave it visible or somewhere easy to return to, then use your test browser to visit a domain you know. Go back to the connection list and look for the request by domain or time. If the list only shows active connections, a short request may have already ended. Check the standard log instead, then open a page you haven’t visited yet and try again. A page loading doesn’t necessarily mean a new connection was made; the browser may be using its cache or reusing an existing connection.
Once you find the request, check where it actually went. Open the entry and look for fields such as «Rule», «Policy Group», «Chain», or «Outbound», then compare them with the selection you noted in Step 02. If the matched rule points to a policy group with several options, the group name is only an intermediate result; use the chain shown in the record to identify the final node. If the actual result is DIRECT, the request may still have reached the client and been sent directly by the rule. That doesn’t mean the system proxy is off.
To distinguish proxy traffic from direct connections, choose one domain in your config that should use a proxy and another that should clearly connect directly. Open each in a new page. The split is verified only when both entries follow the expected routes. If your config has no direct-connect rule to use for comparison, don’t change the rules just to run this test; first verify the expected proxy outbound. A public IP lookup can provide extra context, but it only reflects that one lookup request and can’t replace checking the target app and domain.
If neither request appears, first go back and check the connection switch and the app’s proxy settings. If you find a request but it matched an unexpected rule, check the domain that actually appeared during the visit. A page may redirect to another domain or load resources from several domains. Start with the main page’s entry, then check rule order. If the rule and node look right but the request still times out, keep the mode unchanged and try another node for the same domain. For more troubleshooting steps, see the FAQ Troubleshooting.
After verification, keep the working config, Rule mode, and confirmed policy group selection. If you temporarily tried Global, Direct, or another node, restore the settings that passed the check. When you’re done using the client, turn off the system proxy before quitting on desktop. On mobile, tap «Disconnect» in the client and confirm the system status has returned to normal. You can follow the same checks after updating a subscription or switching devices: confirm the active config, check whether requests reach the client, then inspect the actual outbound route.