xref: /curl/docs/cmdline-opts/netrc-file.md (revision 2abfc759)
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Long: netrc-file
5Help: Specify FILE for netrc
6Arg: <filename>
7Added: 7.21.5
8Mutexed: netrc
9Category: auth
10Multi: single
11See-also:
12  - netrc
13  - user
14  - config
15Example:
16  - --netrc-file netrc $URL
17---
18
19# `--netrc-file`
20
21Set the netrc file to use. Similar to --netrc, except that you also provide
22the path (absolute or relative).
23
24It abides by --netrc-optional if specified.
25