ns proxy set <proxy url> [username] [password]

Sets the proxy settings of the NativeScript CLI

Arguments

NameDescription
proxy urlFull url of the proxy. For example, http://127.0.0.1:8888. If you do not provide the url when running the command, the NativeScript CLI will prompt you to provide it
usernameCredentials for the proxy
passwordCredentials for the proxy

Options

NameDescription
--insecureAllows insecure SSL connections and transfers to be performed. In case your proxy doesn't have a CA certificate or has an invalid one you need to use this flag